A simple visula check of scale-free network ropology.
scaleFreePlot(
connectivity,
nBreaks = 10,
truncated = FALSE,
removeFirst = FALSE,
main = "", ...)
None.
vector containing network connectivities.
number of breaks in the connectivity dendrogram.
logical: should a truncated exponential fit be calculated and plotted in addition to the linear one?
logical: should the first bin be removed from the fit?
main title for the plot.
other graphical parameter to the plot
function.
Steve Horvath
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.
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
softConnectivity
for connectivity calculation in weigheted networks.