simple generation of children of 'choices' given as terms, returned as TermSet

secLevGen(choices, ont)

Arguments

choices

vector of terms

ont

instance of ontology_index (S3) from ontologyIndex package

Value

TermSet instance

Examples

efoOnto = getOnto("efoOnto")
#> loading from cache
secLevGen( "disease", efoOnto )
#> TermSet for 43 terms
#> acute disease, animal disease, ..., urinary system disease, urogenital neoplasm