map_tissue: Map cell type

View source: R/map_tissue.R

map_tissueR Documentation

Map cell type

Description

Map cell types to cell ontology terms.

Usage

map_tissue(
  results = NULL,
  map = KGExplorer::get_data_package(package = "MSTExplorer", name = "tissue_maps"),
  add_ancestors = 10,
  uberon = KGExplorer::get_ontology(name = "uberon", add_ancestors = add_ancestors),
  return_agg = FALSE
)

Arguments

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.

add_ancestors

Add ancestors for each term.

uberon

UBERON ontology object of class ontology_DAG.

return_agg

Return the aggregated results instead of merging with a table of association results.

Examples

results <- load_example_results()
results2 <- map_tissue(results = results)

neurogenomics/MultiEWCE documentation built on April 22, 2024, 6:22 a.m.