getTSRdata-methods: *getTSRdata*

Description Usage Arguments Value Examples

Description

an accessor function that retrieves the contents of a specified slot "tsrData"/"tsrDataMerged" from a given tssObject

Usage

1
2
3
4
getTSRdata(experimentName, slotType, slot)

## S4 method for signature 'tssObject,character,numeric'
getTSRdata(experimentName, slotType = c("replicates", "merged"), slot)

Arguments

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.

Value

the contents of the selected slot (either "tsrData" or "tsrDataMerged" are returned)

Examples

1
2
3
4
5
load(system.file("extdata", "tssObjectExample.RData",
package="TSRchitect"))
ex.tsrData <- getTSRdata(experimentName=tssObjectExample,
slotType="replicates", slot = 1)
ex.tsrData

BrendelGroup/TSRchitect documentation built on March 3, 2021, 1:45 a.m.