unite_roots: Unites a set of roots in the ontology under a common root.

Description Usage Arguments Value

View source: R/ontology.R

Description

Primarily used to combine multiple aspects of an ontology, e.g. 'biological process', 'cellular component' and 'molecular function' in Gene Ontology.

Usage

1
unite_roots(o, roots, root.name = "root")

Arguments

o

An ontology object.

roots

A character vector of roots to combine. Will unite all roots in ontology if not provided.

root.name

Name of the new root term.

Value

The united ontology object.


SimonLarsen/higana documentation built on April 24, 2020, 7:29 a.m.