Description Usage Arguments Value See Also Examples
Subset a Seurat object
1 2 3 4 5 |
x |
Seurat object to be subsetted |
i, features |
A vector of features to keep |
j, cells |
A vector of cells to keep |
... |
Extra parameters passed to |
subset |
Logical expression indicating features/variables to keep |
idents |
A vector of identity classes to keep |
A subsetted Seurat object
1 2 3 4 5 6 7 8 | pbmc_small[VariableFeatures(object = pbmc_small), ]
pbmc_small[, 1:10]
subset(x = pbmc_small, subset = MS4A1 > 4)
subset(x = pbmc_small, subset = `DLGAP1-AS1` > 2)
subset(x = pbmc_small, idents = '0', invert = TRUE)
subset(x = pbmc_small, subset = MS4A1 > 3, slot = 'counts')
subset(x = pbmc_small, features = VariableFeatures(object = pbmc_small))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.