Learn R Programming

ProNet (version 1.0.0)

net.robustness: Network robustness

Description

Test the network robustness after attack.

Usage

net.robustness(graph, n = 1000, vertex.name = NULL, ...)

Arguments

graph
An igraph object.
n
Number of sampling times. Default value is 1000.
vertex.name
A vector of the vertex name.
...
Other arguments.

Value

A matrix of the network parameters by exact and the simulated radom attack.

See Also

net.attack.

Examples

Run this code
nlocal<-data.frame(c("DVL1","DVL2","DVL3"))
net<-construction(input=nlocal,db="HPRD",species="human",ID.type="Gene symbol",hierarchy=1)
net.robustness(net,n=1000,vertex.name=c("DVL1","DVL2","DVL3"))

Run the code above in your browser using DataLab