R/termProc.R
siblings_TAG.Rd
generate a TermSet with siblings of a given term, excluding that term by default
acquire the label of an ontology subject tag
acquire the labels of children of an ontology subject tag
siblings_TAG(Tagstring = "EFO:1001209", ontology, justSibs = TRUE)
label_TAG(Tagstring = "EFO:0000311", ontology)
children_TAG(Tagstring = "EFO:1001209", ontology)
a character(1) that identifies a term
instance of ontology_index (S3) from ontologyIndex
character(1)
TermSet instance
character(1)
TermSet instance
for label_TAG
, Tagstring
may be a vector
efoOnto = getOnto("efoOnto")
#> loading from cache
siblings_TAG( "EFO:1001209", efoOnto )
#> TermSet for 16 terms
#> AA amyloidosis, AL amyloidosis, ..., systemic scleroderma, thromboangiitis obliterans
efoOnto = getOnto("efoOnto")
#> loading from cache
label_TAG( "EFO:0000311", efoOnto )
#> EFO:0000311
#> "obsolete_cancer"
efoOnto = getOnto("efoOnto")
#> loading from cache
children_TAG( ontology = efoOnto )
#> TermSet for 0 terms
#>