ggtopo.networkModel {isotracer}R 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)
}


[Package isotracer version 1.1.5 Index]