counts-methods {SeqGSEA} | R Documentation

## Accessors for the 'counts' slot of a ReadCountSet object.

### Description

Accessors for the 'counts' slot of a ReadCountSet object.

### Usage

    ## S4 method for signature 'ReadCountSet'
    counts(object)
    ## S4 replacement method for signature 'ReadCountSet,matrix'
    counts(object) <- value

### Arguments

`object` | a ReadCountSet object
`value` | a matrix of read counts

### Author(s)

Xi Wang, xi.wang@newcastle.edu.au

### Examples

    data(RCS_example, package="SeqGSEA")
    readCounts <- counts(RCS_example)
    head(readCounts)

[Package SeqGSEA version 1.24.0 Index]