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