thinning_scale_free | R Documentation |
This function removes edges from the passed network so that the resulting subnetwork
is maximally scale free. First, for each value in thresholds
argument, a subnetwork
is created. Each subnetwork is obtained from the original x
removing all edges
smaller, in absolute value, than the corresponding threshold.
Then each subnetwork is fitted a power law, and the one whose gamma is closest
to target.gamma
is selected.
thinning_scale_free(x, thresholds = seq(from = 0.1, to = 0.9, by = 0.1), target.gamma = 2, verbose = TRUE)
x |
a coexpression network, as returned by write.coexpressionMatrix |
thresholds |
numeric array of thresholds to be considered |
target.gamma |
for biological networks target gamma is somewhere between 2 and 3 |
verbose |
should extra informations be printed? |
a smaller version of the original matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.