Creates a Seurat object containing only a subset of the cells in the original object. Takes either a list of cells to use as a subset, or a parameter (for example, a gene), to subset on.
FilterCells(object, subset.names, low.thresholds, high.thresholds,
cells.use = NULL)
Seurat object
Parameters to subset on. Eg, the name of a gene, PC1, a column name in object@meta.data, etc. Any argument that can be retreived using FetchData
Low cutoffs for the parameters (default is -Inf)
High cutoffs for the parameters (default is Inf)
A vector of cell names to use as a subset
Returns a Seurat object containing only the relevant subset of cells