## Construction a local network.
local<-data.frame(1:5,2:6)
attribute<-data.frame(1:6,c(2.2,5.3,1.2,4.5,6.2,0.6))
net<-construction(input=local,local.net=TRUE,node.attribute=attribute)
## Construction a network from the human HPRD database.
nlocal<-data.frame(c("DVL1","DVL2","DVL3"))
net<-construction(input=nlocal,db="HPRD",species="human",ID.type="Gene symbol",hierarchy=1)
Run the code above in your browser using DataLab