Description Usage Arguments Value See Also Examples
Remove terms which just link two other terms together in a subontology
1 | remove_links(ontology, terms, hard = FALSE)
|
ontology |
|
terms |
Character vector of ontological terms |
hard |
Logical value determining whether to multiple edges to leaf terms are kept - |
Character vector.
1 2 3 | library(ontologyIndex)
data(hpo)
remove_links(hpo, c("HP:0001873","HP:0001872","HP:0011873","HP:0011877"))
|
[1] "HP:0001873" "HP:0001872" "HP:0011877"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.