counts,DESeqDataSet-method | R Documentation |
The counts slot holds the count data as a matrix of non-negative integer count values, one row for each observational unit (gene or the like), and one column for each sample.
## S4 method for signature 'DESeqDataSet'
counts(object, normalized = FALSE, replaced = FALSE)
## S4 replacement method for signature 'DESeqDataSet,matrix'
counts(object) <- value
object |
a |
normalized |
logical indicating whether or not to divide the counts by the size factors or normalization factors before returning (normalization factors always preempt size factors) |
replaced |
after a |
value |
an integer matrix |
Simon Anders
sizeFactors
, normalizationFactors
dds <- makeExampleDESeqDataSet(m=4)
head(counts(dds))
dds <- estimateSizeFactors(dds) # run this or DESeq() first
head(counts(dds, normalized=TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.