getSubTerms {biocViews} | R Documentation |
Given a Directed Acyclic Graph (DAG) represented as a graphNEL
instance, return a character vector consisting of the specified
term
and all of its descendants. That is, give the list of
terms for which a path exists starting at term
.
getSubTerms(dag, term)
dag |
A graphNEL representing a DAG |
term |
A string giving a term in the vocabulary (a node in dag ) |
A character vector of term names.
S. Falcon
data(biocViewsVocab) getSubTerms(biocViewsVocab, "Software")