map_tissue | R Documentation |
Map cell types to cell ontology terms.
map_tissue(
results = NULL,
map = KGExplorer::get_data_package(package = "MSTExplorer", name = "tissue_maps"),
lvl = 10,
uberon = KGExplorer::get_ontology(name = "uberon", lvl = lvl),
return_agg = FALSE
)
results |
The cell type-phenotype enrichment results generated by gen_results and merged together with merge_results |
map |
Many:many mapping between tissue ontology terms and cell type ontology terms. |
lvl |
Depth of the ancestor terms to add. Will get the closest ancestor to this level if none have this exact level. |
uberon |
UBERON ontology object of class ontology_DAG. |
return_agg |
Return the aggregated results instead of merging with a
table of association |
results <- load_example_results()
results2 <- map_tissue(results = results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.