A thin wrapper around get_ontology to get the specific version of the Cell Ontology used in the original analyses that produced the results stored in load_example_results.
get_cl(name = "cl", tag = "v2023-09-21", lvl = 1, remove_rings = TRUE, ...)<...>Any ontology name from get_ols_options
"hpo" Import the Human Phenotype Ontology. GitHub.
tag for the GitHub release to which this data should be attached.
Depth of the ancestor terms to add. Will get the closest ancestor to this level if none have this exact level.
Parameter passed to simona::import_ontology.
Arguments passed on to KGExplorer::get_ontology
save_dirDirectory to save a file to.
force_newIf TRUE, force a new download.
methodCompute ontology levels using:
"height" (default) dag_height.
"depth" dag_depth.
filetypeFile type to search for.
import_funcFunction to import the ontology with.
If NULL, automatically tries to choose the correct function.
termsA vector of ontology term IDs.
add_metadataAdd metadata to the resulting ontology object.
add_n_edgesAdd the number of edges (connections) for each term.
add_ontology_levelsAdd the ontology level for each term.
cl <- get_cl()
#> Translating ontology terms to ids.
#> Using cached ontology file (1/1):
#> /github/home/.cache/R/KGExplorer/ontologies/github/cl_v2023-09-21.rds
#> Keeping descendants of 2 term(s).
#> 2,711 terms remain after filtering.