View source: R/cell_type_mapping.R
map_cell_types | R Documentation |
cell_type
refers to a cell type from the controlled vocabulary (CV).
method_cell_type
refers to a cell type from a method or dataset.
map_cell_types(use_cell_types, fractions, method_dataset = NULL)
use_cell_types |
list of cell types from the CV to map to |
fractions |
Dataframe with cell types as rows and samples as columns. Rownames corresponds to the method_cell_types. A named vector will be coerced into a one-column dataframe. |
method_dataset |
method or dataset with which |
numeric vector with CV cell types as names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.