Description Usage Arguments Details Value Note Author(s) See Also Examples
Select Samples
1 2 | ## S4 method for signature 'SingleCellExperiment'
selectSamples(object, ...)
|
object |
Object. |
... |
Columns to use for grep pattern matching. Supply a named character vector containing the column name and the grep pattern. |
Internally, pattern matching against sample and file names is applied using logical grep matching.
bcbioSingleCell
.
Bracket based subsetting with [
also works on bcbioSingleCell
objects. In this case, provide cellular barcode identifiers for columns
and Ensembl gene identifiers for rows.
Michael Steinbaugh
Other Data Functions: aggregateReplicates
,
cell2sample
, fetchGeneData
,
mapCellsToSamples
,
metricsPerSample
, sampleData
,
subsetPerSample
, topBarcodes
1 2 3 4 5 | # bcbioSingleCell ====
object <- indrops_small
sample <- sampleNames(object) %>% head(1L)
print(sample)
selectSamples(object, sampleName = sample)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.