featureControlInfo: featureControlInfo in an SCESet object

Description Usage Arguments Value Author(s) Examples

Description

Each SCESet object stores optional information about the controls in the featureControlInfo slot. These functions can be used to access, replace or modify this information.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
featureControlInfo(object)

featureControlInfo(object) <- value

featureControlInfo.SCESet(object)

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

## S4 replacement method for signature 'SCESet,AnnotatedDataFrame'
featureControlInfo(object) <- value

Arguments

object

a SCESet object.

value

an AnnotatedDataFrame object, where each row contains information for a single set of control features.

Value

An SCESet object containing new feature control information.

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))
featureControlInfo(example_sceset)
featureControlInfo(example_sceset)$IsSpike <- c(TRUE, FALSE)

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