View source: R/ui_plotting-topology.R
ggtopo.networkModel | R Documentation |
A quick plot using ggraph
## S3 method for class 'networkModel'
ggtopo(x, layout = "auto", edge = "fan", ...)
x |
A topology matrix. |
layout |
Optional, layout to use (e.g. "sugiyama", "kk", "stress") |
edge |
"curve" (the default) or "line". |
... |
Not used for now. |
A ggplot2 plot.
if (requireNamespace("ggraph")) {
ggtopo(aquarium_mod, edge = "line")
ggtopo(trini_mod)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.