detectBottlenecks | R Documentation |
Identify all possible bottlenecks based on the pareto principle of Eighty-twenty rule (by default) for a given network
detectBottlenecks(
net,
method = "ETP",
p = 20,
validate = TRUE,
perturb = 5,
iter = round(100/perturb),
ng = iter
)
net |
An igraph graph object. |
method |
Method to identify bottleneck nodes. Currently this function supports only the method of Eighty-twenty principle (ETP). |
p |
Value of percent of nodes/proteins to be considered for the determination of degree cutoff. By default value is 20%. It is an optional parameter. |
validate |
Logical, TRUE or FALSE, whether to validate identified bottlenecks by rewiring of a given percentage of edges. |
perturb |
Percentage value to rewire edges. |
iter |
Number of iterations to perform rewiring and construction of new rewired networks. The default value is round(100/perturb). |
ng |
Number of new graphs/networks to be constructed. The default value is the value of iter. |
If validate = TRUE, a list with two (named) numeric vectors, first containing all possible bottlenecks with their betweenness values before edge perturbation and second containing all possible bottlenecks with their betweenness values (from the original network) after the edge perturbation. Otherwise, a (named) numeric vector with all possible bottlenecks with their corresponding betweenness values as identified in the given network.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.