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

Description Usage Arguments Value Author(s) References Examples

View source: R/plot.NetworkSperical.R

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.

Usage

1
2
3
## S3 method for class 'NetworkSperical'
plot(x, mo="in", tkplot = FALSE, 
v.lab=FALSE, v.size=1, 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. 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.

Author(s)

Shailesh Tripathi, Frank Emmert-Streib

References

http://bio-complexity.com/

Examples

1
2
3
4
5
6
7
  #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)

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