count_cell_types | R Documentation |
The difference with aggregate_cell_types
is that this function does filter out pixels
based on total cell type weight, as occurs in the CSIDE algorithm.
count_cell_types(
myRCTD,
barcodes,
cell_types,
cell_type_threshold = 125,
doublet_mode = T,
weight_threshold = NULL
)
barcodes |
the barcodes, or pixel names, of the |
cell_types |
the cell types used for CSIDE. If null, cell types will be chosen with aggregate occurences of
at least 'cell_type_threshold', as aggregated by |
cell_type_threshold |
(default 125) min occurence of number of cells for each cell type to be used, as aggregated by |
doublet_mode |
(default TRUE) if TRUE, uses RCTD doublet mode weights. Otherwise, uses RCTD full mode weights |
weight_threshold |
(default NULL) the threshold of total normalized weights across all cell types
in |
RCTD |
an |
a named vector of number of pixel occurrences for each cell type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.