scaleFreePlot {WGCNA} | R Documentation |
Visual check of scale-free topology
Description
A simple visula check of scale-free network ropology.
Usage
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 |
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.