plot.NetworkSperical:
Exploratory visualization of information spread of biological networks
Description
Global layout style:
A visualization of a network in a spherical form. The node with the highest degree is placed in the center, and its neighbors are plotted around this node in a circular manner. Whenever a node is encountered with multiple neighbors, the neighbors are plotted into the direction of that node. This process continues until all nodes are placed. This gives a compact spherical view of the network.
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. Can be either in or out.
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.
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.
...
... parameter for other inputs.
Value
Plots the input graph object using tkplot function.
#Example 1 g <- barabasi.game(500, directed = TRUE)
xx <- plot.NetworkSperical(g, mo = "in", tkplot=FALSE)
# Example 2 g <- erdos.renyi.game(100, p=.1)
xx <- plot.NetworkSperical(g)