Description Usage Arguments Value Author(s) Examples
Filters cells/features from a SingleCellExperiment
using conditional statements a la dplyr
.
1 |
x |
a |
... |
conditional statements separated by comma. Only rows/columns where the condition evaluates to TRUE are kept. |
k |
numeric or character string. Specifies the clustering to extract
populations from. Must be one of |
a SingleCellExperiment
.
Helena L Crowell helena.crowell@uzh.ch
1 2 3 4 5 6 7 8 9 10 | # construct SCE & run clustering
data(PBMC_fs, PBMC_panel, PBMC_md, merging_table)
sce <- prepData(PBMC_fs, PBMC_panel, PBMC_md)
sce <- cluster(sce)
# one condition only, remove a single sample
filterSCE(sce, condition == "Ref", sample_id != "Ref1")
# keep only a subset of clusters
filterSCE(sce, cluster_id %in% c(7, 8, 18), k = "meta20")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.