howManyCells | R Documentation |
Apply WhichCells2 and return the length.
howManyCells( seur, features, assay = "RNA", slot = "data", value_to_compare = 0, comparison_type = "superior", verbose = TRUE )
seur |
Seurat object to use. |
features |
Features to use. |
assay |
Assay to use if features are genes. Default to "RNA". |
slot |
Slot to use if features are genes. Default to "data". |
value_to_compare |
Which value (or values) to compare the features to. Must be either a single element or a list of the same length as features. Default to 0. |
comparison_type |
one of "inferior" or 1, "inferior or equal" or 2, "equal" or 3, "superior or equal" or 4, "superior" or 5. Can be a list of them, the same length as features. Default to "superior". |
verbose |
Whether or not to print the summary dataframe. Default to TRUE. |
The number of cells respecting all the conditions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.