counts | R Documentation |
Get / Set counts matrix
counts(object)
## S4 method for signature 'SummarizedExperiment'
counts(object)
counts(object) <- value
## S4 replacement method for signature 'SummarizedExperiment,matrix'
counts(object) <- value
## S4 replacement method for signature 'SummarizedExperiment,numeric'
counts(object) <- value
## S4 replacement method for signature 'SummarizedExperiment,NULL'
counts(object) <- value
object |
SummarizedExperiment |
value |
count matrix (features x samples) |
count matrix (get) or updated object (set)
file <- system.file('extdata/billing19.rnacounts.txt', package = 'autonomics')
object <- read_rnaseq_counts(file)
counts(object)[1:3, 1:3]
counts(object) <- values(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.