Description Usage Arguments Value See Also Examples
Returns a list of cells that match a particular set of criteria such as identity class, high/low values for particular PCs, ect..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | OldWhichCells(object, ...)
## S3 method for class 'Assay'
OldWhichCells(
object,
cells,
subset.name = NULL,
low.threshold = -Inf,
high.threshold = Inf,
accept.value = NULL,
...
)
## S3 method for class 'Seurat'
OldWhichCells(
object,
cells = NULL,
subset.name = NULL,
low.threshold = -Inf,
high.threshold = Inf,
accept.value = NULL,
ident.keep = NULL,
ident.remove = NULL,
max.cells.per.ident = Inf,
random.seed = 1,
assay = NULL,
...
)
|
object |
An object |
... |
Arguments passed to other methods and |
cells |
Subset of cell names |
subset.name |
Parameter to subset on. Eg, the name of a gene, PC_1, a column name in object@meta.data, etc. Any argument that can be retreived using FetchData |
low.threshold |
Low cutoff for the parameter (default is -Inf) |
high.threshold |
High cutoff for the parameter (default is Inf) |
accept.value |
Returns all cells with the subset name equal to this value |
ident.keep |
Create a cell subset based on the provided identity classes |
ident.remove |
Subtract out cells from these identity classes (used for filtration) |
max.cells.per.ident |
Can be used to downsample the data to a certain max per cell ident. Default is INF. |
random.seed |
Random seed for downsampling |
assay |
Which assay to filter on |
A vector of cell names
1 2 3 4 | ## Not run:
OldWhichCells(object = pbmc_small, ident.keep = 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.