Description Usage Arguments Details Value Author(s) Examples
Extract a matrix of expression values for features in spike-in control sets.
1 2 3 4 |
object |
a |
... |
arguments passed through generic version of the function. |
exprs_values |
a string specifying the type of expression values to extract. |
type |
a character vector containing the names of the spike-in control sets to extract. By default, expression values for features in all spike-in control sets are extracted. |
If exprs_values="exprs"
, users should have run normalize(object)
first,
so that spike-in features are normalized with spike-in size factors.
A matrix of expression values for features in the specified spike-in control sets.
Aaron Lun
1 2 3 4 5 6 7 8 | data("sc_example_counts")
data("sc_example_cell_info")
pd <- new("AnnotatedDataFrame", data = sc_example_cell_info)
example_sceset <- newSCESet(countData = sc_example_counts, phenoData = pd)
example_sceset <- calculateQCMetrics(example_sceset,
feature_controls = list(ERCC = 1:40, Mito=41:50))
setSpike(example_sceset) <- "ERCC"
head(spikes(example_sceset))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.