net.robustness: Network robustness

Description Usage Arguments Value See Also Examples

View source: R/net.robustness.R

Description

Test the network robustness after attack.

Usage

1
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

1
2
3
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"))

ProNet documentation built on May 30, 2017, 2:02 a.m.