counts {DEXSeq}R Documentation

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

Description

The counts slot holds the count data as a matrix of non-negative integer count values, one row for each observational unit (a counting bin, i.e., an exon or part of an exon), and one column for each sample.

Usage

## S4 method for signature 'ExonCountSet'
counts(object, normalized=FALSE)
## S4 replacement method for signature 'ExonCountSet,matrix'
counts(object) <- value

Arguments

object

An ExonCountSet object.

normalized

If TRUE, the counts will be normalized by the size factors.

value

An integer matrix of counts, each row corresponding to an exon and each column corresponding to a sample.

Examples

   data("pasillaExons", package="pasilla")
   head( counts( pasillaExons ) )

[Package DEXSeq version 1.0.2 Index]