plot_netview: Netview Plot

View source: R/utils.R

plot_netviewR Documentation

Netview Plot

Description

Netview Plot

Usage

plot_netview(
  g,
  legend = NULL,
  legend_position = "topleft",
  legend_size = 0.7,
  text = NULL,
  text_size = 1,
  text_color = "black",
  text_font = 1,
  ncol = NULL,
  nrow = NULL,
  dev_off = F,
  ...
)

Arguments

g

igraph object: the igraph object to plot

legend

char: column name from graph object attribute 'node_data' to plot a legend (if data added with decorator)

legend_position

char: legend position

legend_size

numeric: legend size

text

char: title text

text_size

numeric: title size

text_color

char: title color

text_font

numeric: title font

ncol

numeric: number of cols for panel (max 4 panels)

nrow

numeric: number of rows for panel (max 4 panels)

dev_off

bool: device off

...

any other parameter passed to igraph::pot.igraph


esteinig/netviewr documentation built on Oct. 20, 2024, 5:16 a.m.