selectSamples: Select Samples

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

Description

Select Samples

Usage

1
2
## S4 method for signature 'SingleCellExperiment'
selectSamples(object, ...)

Arguments

object

Object.

...

Columns to use for grep pattern matching. Supply a named character vector containing the column name and the grep pattern.

Details

Internally, pattern matching against sample and file names is applied using logical grep matching.

Value

bcbioSingleCell.

Note

Bracket based subsetting with [ also works on bcbioSingleCell objects. In this case, provide cellular barcode identifiers for columns and Ensembl gene identifiers for rows.

Author(s)

Michael Steinbaugh

See Also

sampleData().

Other Data Functions: aggregateReplicates, cell2sample, fetchGeneData, mapCellsToSamples, metricsPerSample, sampleData, subsetPerSample, topBarcodes

Examples

1
2
3
4
5
# bcbioSingleCell ====
object <- indrops_small
sample <- sampleNames(object) %>% head(1L)
print(sample)
selectSamples(object, sampleName = sample)

roryk/bcbioSinglecell documentation built on May 27, 2019, 10:44 p.m.