spikes: Set spike-in rows

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Specify the rows in the SCESet corresponding to spike-in transcripts.

Usage

1
2
## S4 replacement method for signature 'SCESet'
isSpike(x) <- value

Arguments

x

A SCESet object with spike-in data in the colData.

value

A character vector specifying which control sets are spike-ins. Alternatively a NULL value, to remove existing spike-in specifications.

Details

This function is deprecated, use setSpike instead.

Value

For isSpike<-, x is modified to store a spike-specifying vector in fData(x)$is_feature_spike. A logical vector indicating which controls are spike-ins is also stored in the featureControlInfo slot of x.

Author(s)

Aaron Lun

See Also

setSpike,

Examples

1
2
example(computeSpikeFactors) 
setSpike(y) <- "Spike"

scran documentation built on July 19, 2017, 2:01 a.m.

Search within the scran package
Search all R packages, documentation and source code