Description Usage Arguments Value Examples
use grep or agrep to find a match for a naive token into ontology
1 | mapOneNaive(naive, onto, useAgrep = FALSE, ...)
|
naive |
character(1) |
onto |
an instance of ontologyIndex::ontology_index |
useAgrep |
logical(1) if TRUE, agrep will be used |
... |
passed to agrep if used |
if a match is found, the result of grep/agrep with value=TRUE is returned; otherwise a named NA_character_ is returned
named vector, names are ontology identifiers, values are matched strings
1 2 | co = ontoProc::getCellOnto()
mapOneNaive("astrocyte", co)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.