Description Usage Arguments Value Examples
View source: R/subset_sce_metadata.R
Subset the sce object based on a column of the metadata table
1 | subset_sce_metadata(sce, ...)
|
sce |
a |
... |
a conditional statement to subset the SCE by metadata slot. |
a subsetted sce SingleCellExperiment
.
1 2 | # Subset the sce_gvhd object based on the 'cell_annotation' label in the metadata table
sce_cd4 = subset_sce_metadata(sce_gvhd, cell_annotation %in% c("CD4+ T Cells", "Basophils"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.