siblings_TAG: generate a TermSet with siblings of a given term, excluding...

Description Usage Arguments Value Note Examples

View source: R/termProc.R

Description

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

1
2
3
4
5
siblings_TAG(Tagstring = "EFO:1001209", ontology, justSibs = TRUE)

label_TAG(Tagstring = "EFO:0000311", ontology)

children_TAG(Tagstring = "EFO:1001209", ontology)

Arguments

Tagstring

a character(1) that identifies a term

ontology

instance of ontology_index (S3) from ontologyIndex

justSibs

character(1)

Value

TermSet instance

character(1)

TermSet instance

Note

for label_TAG, Tagstring may be a vector

Examples

1
2
3
4
5
6
efoOnto = getEFOOnto()
siblings_TAG( "EFO:1001209", efoOnto )
efoOnto = getEFOOnto()
label_TAG( "EFO:0000311", efoOnto )
efoOnto = getEFOOnto()
children_TAG( ontology = efoOnto )

ontoProc documentation built on Nov. 17, 2017, 8:48 a.m.