detectHubs | R Documentation |
Identify all possible hubs based on the pareto principle of Eighty-twenty rule (by default) for a given network
detectHubs(
net,
method = "ETP",
p = 20,
validate = TRUE,
perturb = 5,
iter = round(100/perturb),
ng = iter
)
net |
An igraph graph object. |
method |
Method to identify hub 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 hubs 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 hubs with their degree values before edge perturbation and second containing all possible hubs with their degree values (from the original network) after the edge perturbation. Otherwise, a (named) numeric vector with all possible hubs with their corresponding degree 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.