Learn R Programming

netbiov (version 1.6.0)

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

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

"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.

References

http://bio-complexity.com/

Examples

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

Run the code above in your browser using DataLab