counts | R Documentation |
Count matrix.
counts(object, ...)
counts(object, ...) <- value
## S4 method for signature 'SummarizedExperiment'
counts(object)
## S4 replacement method for signature 'SummarizedExperiment,Matrix'
counts(object) <- value
## S4 replacement method for signature 'SummarizedExperiment,matrix'
counts(object) <- value
object |
Object. |
value |
Value to assign. |
... |
Additional arguments. |
Matrix.
Typically matrix
or Matrix
class.
For a SummarizedExperiment
object, "counts"
must be explicitly
defined in assayNames
.
Updated 2022-05-23.
data(RangedSummarizedExperiment, package = "AcidTest")
## SummarizedExperiment ====
object <- RangedSummarizedExperiment
x <- counts(object)
summary(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.