detectHubs: Identify all possible hubs based on the pareto principle of...

View source: R/detectHB.R

detectHubsR Documentation

Identify all possible hubs based on the pareto principle of Eighty-twenty rule (by default) for a given network

Description

Identify all possible hubs based on the pareto principle of Eighty-twenty rule (by default) for a given network

Usage

detectHubs(
  net,
  method = "ETP",
  p = 20,
  validate = TRUE,
  perturb = 5,
  iter = round(100/perturb),
  ng = iter
)

Arguments

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.

Value

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.


kr-swapnil/NetVA documentation built on April 15, 2024, 8:32 p.m.