Description Usage Arguments Value Author(s) Examples
Convenience functions to access commonly-used assays of the
SingleCellExperiment
object.
1 2 3 4 5 6 7 8 9 10 11 | norm_exprs(object)
norm_exprs(object) <- value
stand_exprs(object)
stand_exprs(object) <- value
fpkm(object)
fpkm(object) <- value
|
object |
|
value |
a numeric matrix (e.g. for |
a matrix of normalised expression data
a matrix of standardised expressiond data
a matrix of FPKM values
A matrix of numeric, integer or logical values.
Davis McCarthy
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | example_sce <- mockSCE()
example_sce <- logNormCounts(example_sce)
head(logcounts(example_sce)[,1:10])
head(exprs(example_sce)[,1:10]) # identical to logcounts()
norm_exprs(example_sce) <- log2(calculateCPM(example_sce) + 1)
stand_exprs(example_sce) <- log2(calculateCPM(example_sce) + 1)
tpm(example_sce) <- calculateTPM(example_sce, lengths = 5e4)
cpm(example_sce) <- calculateCPM(example_sce)
fpkm(example_sce)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.