View source: R/ui_plotting-topology.R
ggtopo | R Documentation |
A quick plot using ggraph
ggtopo(x, layout = "auto", edge = "fan", ...)
x |
A network model or a topology matrix. |
layout |
Optional, layout to use (e.g. "sugiyama", "kk", "stress") |
edge |
"fan" (the default) or "line" or "curve". |
... |
Passed to the methods. |
A ggplot2 plot.
if (requireNamespace("ggraph")) {
ggtopo(aquarium_mod, edge = "line")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.