perturbR {perturbR} | R Documentation |
Perturb networks and evaluate subgroup structures.
Description
Randomly rewires networks in increasing degrees of perturbation to evaluate stability of community solutions obtained from Walktrap.
Usage
perturbR(sym.matrix, plot = TRUE, resolution = 0.01, reps = 100,
errbars = FALSE)
Arguments
sym.matrix |
A symmetric, sparse count matrix object |
plot |
Logical, defaults to TRUE |
resolution |
The percentage of edges to iteratively alter. One percent is default, increase to go quicker. |
reps |
The number of repititions to do for each level of perturbation. Decrease to make it go quicker. |
errbars |
Logical, defaults to FALSE. Option to add error bars of one standard deviation above and below the mean for each point. |
Examples
perturbR(exampledata, plot=FALSE, resolution=0.10, reps=1, errbars = FALSE)
[Package perturbR version 0.1.3 Index]