whichSpike: Identify spike-in feature control sets in an SCESet object

Description Usage Arguments Value Author(s) Examples

Description

Get the names of the feature control sets that are spike-ins.

Usage

1
2
3
4
whichSpike(object)

## S4 method for signature 'SCESet'
whichSpike(object)

Arguments

object

a SCESet object.

Value

A character vector containing the names of feature control sets that are spike-in sets.

Author(s)

Aaron Lun

Examples

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"
whichSpike(example_sceset)

dynverse/scaterlegacy documentation built on Feb. 17, 2020, 5:07 a.m.