Learn R Programming

R3CPET (version 1.4.2)

createServer-methods: Explore results in a web browser

Description

To facilitate the interaction of the user with the package, we added an additional web interface using the shiny package. The user can check some basic statistics about the row data and he can explore the results and generate some graphs.

Usage

"createServer"(x,nets,hlda)

Arguments

x
a ChiapetExperimentData object in which the interactions, TFBS and the index tables are already created.
nets
a NetworkCollection object containing the list of the used TF and the initial interaction networks.
hlda
a ChromMaintainers object in which the results are already calculated.

Value

A webpage is opened.

See Also

NetworkCollection, ChiapetExperimentData, ChromMaintainers

Examples

Run this code

  ## 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 and do the clustering 
#   hlda<- InferNetworks(nets)
#   hlda<- clusterInteractions(hlda)
# 
#   ## Run the server
#   createServer(x, nets, hlda)
# 
# ## End(Not run)

Run the code above in your browser using DataLab