remove_uninformative_terms: Remove uninformative terms from union of all terms in set of...

Description Usage Arguments Value Examples

View source: R/sets.R

Description

For a set of ontological annotation sets, remove terms annotated to the same objects as all their children. Useful for selecting terms for summarising a set of annotation sets, as it can lead to a significant reduction in the number of terms.

Usage

1
remove_uninformative_terms(ontology, term_sets)

Arguments

ontology

ontology_index object

term_sets

List of character vectors of ontological term IDs

Value

Character vector of terms

Examples

1
2
3
library(ontologyIndex)
data(hpo)
remove_uninformative_terms(hpo, list(Patient1=c("HP:0001873","HP:0000118")))

ontologyPlot documentation built on May 19, 2017, 3:42 p.m.

Search within the ontologyPlot package
Search all R packages, documentation and source code