obo_relations: Functions to display relationships of an 'OBOSet' object

obo_relationsR Documentation

Functions to display relationships of an OBOSet object

Description

These functions will display the relationships (children, parents, or ancestors) for either the elements or the sets of an OBOSet object.

Usage

oboset_element_children(oboset)

oboset_element_parents(oboset)

oboset_element_ancestors(oboset)

oboset_set_children(oboset)

oboset_set_parents(oboset)

oboset_set_ancestors(oboset)

Arguments

oboset

The OBOSet of interest.

Value

A 2 column tibble.

Examples

oboFile <- system.file("extdata", "sample_go.obo", package = "BiocSet")
obo <- import(oboFile)
oboset_element_children(obo) 

oboset_element_parents(obo)

oboset_element_ancestors(obo)

oboset_set_children(obo)

oboset_set_parents(obo)

oboset_set_ancestors(obo)

Bioconductor/BiocSet documentation built on Oct. 31, 2024, 11:43 p.m.