## 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 different indexes
# x <- createIndexes(x)
#
# ## build networks connecting each interacting regions
# nets<- buildNetworks(x)
#
# ## infer the networks
# hlda<- InferNetworks(nets)
#
# ## cluster results
# hlda<- clusterInteractions(hlda)
#
# ## plot a heatmap
# plot3CPETRes(hlda,type="heatmap")
#
# ## plot clusters pair-wise scatter plots
# plot3CPETRes(hlda,type="clusters")
#
# ## enrichment plot for the elements in each network
# plot3CPETRes(hlda,type="curve")
#
# ## average enrichment plot for the elements in each network
# plot3CPETRes(hlda,type="avgCurve")
#
# ## heatmap showing the similarity between the different network
# plot3CPETRes(hlda,type="netSim")
#
# ## plot all the networks in the file "AllGraphs.pdf"
# nets_plot <- plot3CPETRes(hlda,type="networks")
#
# ## plot one of the networks
# plot(nets_plot[[3]])
#
# ## End(Not run)
Run the code above in your browser using DataLab