Description Usage Arguments Value Examples
View source: R/get_pop_counts.R
Get counts of subsets identified by FAUST
1 2 3 4 5 6 7 |
project_path |
character. FAUST project directory. |
data |
dataframe. Dataframe where columns specify counts. If |
pop |
|
dem_col |
|
exhaustive |
logical. If |
A dataframe with columns as specified in dem_col
, tot_count
(total number of cells classified for a
sample), pop
(population name) and
count
(number of cells in population).
1 2 3 4 5 6 | # get counts for cells matching one annotation
pop <- c("CD4" = "-", "CD8" = "+")
get_pop_counts(pop = pop)
# get counts for cells matching either of the two annotations
pop <- list(c("CD4" = "-", "CD8" = "+"), c("CD8" = "-", "CD4" = "+"))
get_pop_counts(pop = pop)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.