plot.NetworkSperical.startSet: Exploratory visualization of information spread of biological...

Description Usage Arguments Value Author(s) References Examples

View source: R/plot.NetworkSperical.startSet.R

Description

Global layout style:

A visualization of network in a 'star-like' form. An initial set of nodes are placed in the corner of polygons. The neighbors are then plotted above these nodes in an arc form. Whenever a node is encountered with multiple neighbors, neighbors are plotted in the direction of that node in an arc form. This process continues until all the nodes are placed. This gives a star-like view of the network.

Usage

1
2
3
## S3 method for class 'NetworkSperical.startSet'
plot(x, mo="in", nc=5, tkplot=FALSE,
v.lab=FALSE, v.size=2, bg="black", ...)

Arguments

x

x is a graph object created from an adjacency matrix or from a tabular data of two columns using graph() function available in igraph.

mo

mo represents the mode of nodes. Options are in or out.

nc

nc is a numeric value representing the total number of corners to be plotted, initially at the center position of a polygon.

tkplot

it is a boolean variable, if it is true, function will use 'tkplot' function to plot a graph, if it is false function will use plot function with the black background.

...

... parameter for other inputs.

v.lab

v.lab is a logical value to show vertex label.

v.size

v.size is a numeric value to assign the size of nodes.

bg

bgis a color value to adjust background color of the plot.

Value

Plots the input graph object using tkplot function.

Author(s)

Shailesh Tripathi, Frank Emmert-Streib

References

http://bio-complexity.com/

Examples

1
2
3
   n <- 500
  g <- barabasi.game(n, directed = TRUE)
  plot.NetworkSperical.startSet(g, mo = "in", nc = 5, tkplot=FALSE)

netbiov documentation built on Nov. 8, 2020, 11:09 p.m.