| GenerateNetworks-methods {R3CPET} | R Documentation |
igraph networksThis methods converts the networks slot of a ChromMaintainers object,
it reads the topEdge slot and convert it into a list of igraph objectts.
## S4 method for signature 'ChromMaintainers' GenerateNetworks(object,...)
object |
a |
... |
future options not considered for the moment. |
Returns ChromMaintainers object in which the networks slot is populated.
Mohamed Nadhir Djekidel (nde12@mails.tsinghua.edu.cn)
ChromMaintainers, InferNetworks
## get the different datasets path
petFile <- file.path(system.file("example",package="R3CPET"),"HepG2_interactions.txt")
tfbsFile <- file.path(system.file("example",package="R3CPET"),"HepG2_TF.txt.gz")
## Not run:
data(RPKMS)
x <- ChiapetExperimentData(pet = petFile, tfbs= tfbsFile, IsBed = FALSE, ppiType="HPRD", filter= TRUE)
## build the diffrent indexes
x <- createIndexes(x)
## build networks connecting each interacting regions
nets<- buildNetworks(x)
## infer the networks
hlda<- InferNetworks(nets)
hlda <- GenerateNetworks(hlda)
networks(hlda)
## End(Not run)