remove_terms_with_less_than_n_occurrences {ontologyPlot} | R Documentation |
Remove terms with less than certain number of occurrences
Description
Remove terms with less than certain number of occurrences
Usage
remove_terms_with_less_than_n_occurrences(
ontology,
term_sets,
n,
terms = unique(unlist(term_sets))
)
Arguments
ontology |
|
term_sets |
List of character vectors of ontological term IDs |
n |
Integer |
terms |
Character vector of ontological terms |
Value
Character vector
See Also
Examples
library(ontologyIndex)
data(hpo)
remove_terms_with_less_than_n_occurrences(hpo,
term_sets=list("HP:0001873", "HP:0001902"), n=2)
[Package ontologyPlot version 1.7 Index]