selectFromMap | R Documentation |
select a set of elements from a term 'map' and return a contribution to a data.frame
selectFromMap(namedvec, index)
namedvec |
named character vector, as returned from |
index |
numeric() or integer(), typically of length one |
a data.frame; if index
does not inherit from
numeric
, a data.frame of one row with columns 'ontoid'
and 'term' populated with NA_character_
is returned,
otherwise a similarly named data.frame is returned with
contents from the selected elements of namedvec
#co = ontoProc::getCellOnto()
co = getOnto("cellOnto", year_added="2023")
mast = mapOneNaive("astrocyte", co)
selectFromMap(mast, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.