Learn R Programming

isotracer (version 1.1.8)

ggtopo: Plot a topology

Description

A quick plot using ggraph

Usage

ggtopo(x, layout = "auto", edge = "fan", ...)

Value

A ggplot2 plot.

Arguments

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.

Examples

Run this code
if (requireNamespace("ggraph")) {
  ggtopo(aquarium_mod, edge = "line")
}

Run the code above in your browser using DataLab