Visual check of scale-free topology

Description

A simple visula check of scale-free network ropology.

Usage

1
2
3
4
5
6
scaleFreePlot(
  connectivity, 
  nBreaks = 10, 
  truncated = FALSE,  
  removeFirst = FALSE, 
  main = "", ...)

Arguments

connectivity

vector containing network connectivities.

nBreaks

number of breaks in the connectivity dendrogram.

truncated

logical: should a truncated exponential fit be calculated and plotted in addition to the linear one?

removeFirst

logical: should the first bin be removed from the fit?

main

main title for the plot.

...

other graphical parameter to the plot function.

Details

The function plots a log-log plot of a histogram of the given connectivities, and fits a linear model plus optionally a truncated exponential model. The R^2 of the fit can be considered an index of the scale freedom of the network topology.

Value

None.

Author(s)

Steve Horvath

References

Bin Zhang and Steve Horvath (2005) "A General Framework for Weighted Gene Co-Expression Network Analysis", Statistical Applications in Genetics and Molecular Biology: Vol. 4: No. 1, Article 17

See Also

softConnectivity for connectivity calculation in weigheted networks.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.