Description Usage Arguments Value
View source: R/plot.R View source: R/plot.R
Plot part of an ontology as a tree.
1 2 3 4 5 6 7 8 9 10 11 12 13 | plot_hierarchy(
path,
o,
terms,
test = NULL,
include_ancestors = TRUE,
highlight = character(0),
highlight.color = "black",
text_wrap = 20,
font = "Arial",
color.low = "#add8e6",
color.high = "#ff0000"
)
|
path |
Path to save Graphviz DOT file. |
o |
An |
terms |
Character vector of terms to include in the plot. |
test |
Test result object computed with |
include_ancestors |
Include all ancestors of terms in 'terms'. |
highlight |
Character vector of terms to highlight. |
highlight.color |
Border color for highlighted terms. |
text_wrap |
Wrap term descriptions at this line width. |
font |
Name of font to use in nodes. |
color.low |
Gradient color for least significant terms. |
color.high |
Gradient color for most significant terms. |
Path to produced graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.