ggtopo.networkModel: Plot a network topology

View source: R/ui_plotting-topology.R

ggtopo.networkModelR Documentation

Plot a network topology

Description

A quick plot using ggraph

Usage

## S3 method for class 'networkModel'
ggtopo(x, layout = "auto", edge = "fan", ...)

Arguments

x

A topology matrix.

layout

Optional, layout to use (e.g. "sugiyama", "kk", "stress")

edge

"curve" (the default) or "line".

...

Not used for now.

Value

A ggplot2 plot.

Examples

if (requireNamespace("ggraph")) {
  ggtopo(aquarium_mod, edge = "line")
  ggtopo(trini_mod)
}


isotracer documentation built on Sept. 22, 2023, 1:07 a.m.