MDST_plot: MDST Network visualization with igraph

View source: R/plot.R

MDST_plotR Documentation

MDST Network visualization with igraph

Description

MDST Network visualization with igraph

Usage

MDST_plot(
  MDST,
  node.color = NULL,
  group = NULL,
  weight = T,
  node.label.color = "black",
  edge.color = "black",
  arrow.size = 0.4,
  node.size = NULL,
  frame.color = NULL,
  edge.label = NULL,
  edge.width = 2,
  edge.label.color = "black",
  edge.label.loc = 0.5,
  edge.label.adjust = 0.1,
  edge.label.cex = 0.8,
  arrow.width = 1.5,
  my_layout = layout_as_tree,
  rescale = F,
  node.self = F,
  ...
)

Arguments

MDST

MDST Network.

node.color

The fill color of the vertex.

group

The vertex labels.

weight

Logical. Whether to determine the width of the edges. according to the weight.Default:TRUE

node.label.color

The color of the node labels.

edge.color

The color of the edges.

arrow.size

Size of arrows.

node.size

Size of nodes.

frame.color

The color of the frame of the vertices.

edge.label

The edge labels.

edge.width

Width of each edge.

edge.label.color

The color of the edge labels.

edge.label.loc

The location of edge labels, if edge.label.loc = 0, edge label locate at the same position of start node, if edge.label.loc = 1, edge label locate at the same position of end node, if edge.label.loc = 0.5, edge label locate at the middle of start and end node.Default:0.5.

edge.label.adjust

edge label will be adjusted in the x-axis direction.Default:0.1.

edge.label.cex

The font size for the edge labels.Default:0.8.

arrow.width

The width of the arrows. Default:layout_as_tree

my_layout

Either a function or a numeric matrix. It specifies how the vertices will be placed on the plot.

rescale

Logical. Whether to rescale the coordinates to the [-1,1]x[-1,1](x[-1,1]) interval. This parameter is not implemented for tkplot.Default:FALSE, the layout will NOT be rescaled.

node.self

Logical. Whether to draw an arrow pointing to the vertice itself.Default:FALSE.

...

Other parameter of plot.igraph.

See Also

plot.igraph,igraph.plotting


Busydog1990/genepro documentation built on July 20, 2023, 6:03 a.m.