plotGraph: Plot a graph object

Description Usage Arguments Value

View source: R/plotGraph.R

Description

Plot a graph object

Usage

1
2
3
4
5
6
7
8
plotGraph(
  g,
  lay = layout_nicely(g),
  colz = 1:5,
  nodeSize = 10,
  colVec = NULL,
  edgeWidth = 1
)

Arguments

g

graph object

colz

colors to use

nodeSize

Size of nodes

colVec

What vertex attribute should color nodes? (default = NULL)

edgeWidth

edge weights e.g., E(g)$weight? (default=1)

Value

a graph plot


taddallas/radTad documentation built on May 15, 2021, 5:54 a.m.