generate a TermSet with siblings of a given term, excluding that term by default
Source: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
Usage
siblings_TAG(Tagstring = "EFO:1001209", ontology, justSibs = TRUE)
label_TAG(Tagstring = "EFO:0000311", ontology)
children_TAG(Tagstring = "EFO:1001209", ontology)
Examples
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
#>