getTSRdata {TSRchitect} | R Documentation |
an accessor function that retrieves the contents of a specified slot "tsrData"/"tsrDataMerged" from a given tssObject
getTSRdata(experimentName, slotType, slot) ## S4 method for signature 'tssObject,character,numeric' getTSRdata(experimentName, slotType = c("replicates", "merged"), slot)
experimentName |
an S4 object of class tssObject |
slotType |
'character' which data type is to be selected. Either "replicates" (tsrCountData) or "merged" (tsrCountDataMerged) |
slot |
'numeric' a number corresponding to the slot in "tsrData"/"tsrDataMerged" to be retrieved. |
the contents of the selected slot (either "tsrData" or "tsrDataMerged" are returned)
load(system.file("extdata", "tssObjectExample.RData", package="TSRchitect")) ex.tsrData <- getTSRdata(experimentName=tssObjectExample, slotType="replicates", slot = 1) ex.tsrData