remove_uninformative_terms | R Documentation |
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.
remove_uninformative_terms(ontology, term_sets)
ontology |
|
term_sets |
List of character vectors of ontological term IDs |
Character vector of terms
library(ontologyIndex)
data(hpo)
remove_uninformative_terms(hpo, list(Patient1=c("HP:0001873","HP:0000118")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.