Produce a simple plot of nodes connected by all pairwise edges, where edge colours correspond to statistical distances. Edges with NA values are not plotted.

plot_network(
  proj,
  col_scale = rev(PlasmoMAPI::col_hotcold()),
  zlim = NULL,
  node_size = 2,
  edge_size = 1,
  base_plot = NULL
)

Arguments

proj

object of class pm_project.

col_scale

the colour scale to use.

zlim

the limits of the colour scale. If NULL then these limits are chosen automatically.

node_size, edge_size

the plotted size of nodes and edges.

base_plot

optional base plot (object of class ggplot) on which this function builds. If NULL then a simple empty plot is used.