R/termProc.R
secLevGen.Rd
simple generation of children of 'choices' given as terms, returned as TermSet
secLevGen(choices, ont)
vector of terms
instance of ontology_index (S3) from ontologyIndex package
TermSet instance
efoOnto = getOnto("efoOnto")
#> loading from cache
secLevGen( "disease", efoOnto )
#> TermSet for 43 terms
#> acute disease, animal disease, ..., urinary system disease, urogenital neoplasm