Map cell types to cell ontology terms.
map_celltype(
results,
input_col = "CellType",
map = KGExplorer::get_data_package(package = "MSTExplorer", name = "celltype_maps"),
rm_prefixes = c("Adult", "Fetus", "HESC"),
by = c("ctd", "author_celltype"),
add_stage = TRUE
)
The cell type-phenotype enrichment results generated by gen_results and merged together with merge_results
Column to use for linking with the map
data.
1:1 mapping between cell ontology terms and cell type names used
in results
.
Prefixes to remove from cell type names in
input_col
before performing mapping.
Columns to merge on.
Add developmental stage information.
results <- load_example_results()
results2 <- map_celltype(results = results)
#> Mapping cell types to cell ontology terms.
#> Adding stage information.