collapse_redundant_terms: Collapse terms whose annotations are redundant with respect...

Description Usage Arguments Value

View source: R/ontology.R

Description

Collapses non-root and non-leaf terms in the ontology whose annotations are redundant with respect to their children. Ensures that the annotations of a term is a proper superset of the union of annotations of its children.

Usage

1
collapse_redundant_terms(o, threshold = 1)

Arguments

o

An annotated ontology object.

threshold

Filter terms with redundancy (maximum Jaccard index) above this threshold.

Value

A filtered ontology object.


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