OBOSet-class: OBOSet class

OBOSetR Documentation

OBOSet class

Description

A class representing the 'OBO' file format as a BiocSet.

Usage

OBOSet(elementset, element, set, metadata)

Arguments

elementset

A tibble with element set information.

element

A tibble with element information.

set

A tibble with set information.

metadata

A tibble with key-value pairs describing OBO file format header data

Value

An S4 OBOOSet object. OBO sets conform to the 'obo' file format, with OBO 'Term' entries corresponding to elements. Parent / child relationships (e.g., 'is_a') are summarized as 'parents', 'ancestors', and 'children' character list columns of 'set'.

Examples

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

Bioconductor/BiocSet documentation built on May 3, 2024, 8:24 a.m.