liberalMap | R Documentation |
Produce a data.frame with a set of naive terms mapped to all matching ontology ids and their formal terms
liberalMap(terms, onto, useAgrep = FALSE, ...)
terms |
character() vector, can use grep-compatible regular expressions |
onto |
an instance of ontologyIndex::ontology_index |
useAgrep |
logical(1) if TRUE, agrep will be used |
... |
passed to agrep if used |
a data.frame
cands = c("astrocyte$", "oligodendrocyte", "oligodendrocyte precursor",
"neoplastic", "^neuron$", "^vascular", "badterm")
#co = ontoProc::getCellOnto()
co = getOnto("cellOnto", year_added="2023")
liberalMap(cands, co)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.