getTSScountData {TSRchitect} | R Documentation

## getTSScountData

### Description

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

### Usage

    getTSScountData(experimentName, slotType, slot)

    ## S4 method for signature 'tssObject,character,numeric'
    getTSScountData(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" (tssCountData) or "merged" (tssCountDataMerged)
`slot` | 'numeric' a number corresponding to the slot in "tssCountData"/"tssCountDataMerged" to be retrieved.

### Value

the contents of the selected slot (either "tssCountData" or "tssCountDataMerged" are returned)

### Examples

    load(system.file("extdata", "tssObjectExample.RData",
    package="TSRchitect"))
    ex.tssCountData <- getTSScountData(experimentName=tssObjectExample,
    slotType="replicates", slot = 1)
    ex.tssCountData

[Package TSRchitect version 1.10.12 Index]