## Not run:
#
# #get example data
# dataset<-GetExampleData("dataset")
# class.labels<-GetExampleData("class.labels")
# controlcharactor<-GetExampleData("controlcharactor")
#
# #get the data for background set of edges
# edgesbackgrand<-GetEdgesBackgrandData()
#
# #get the edge sets of pathways
# pathwayEdge.db<-GetPathwayEdgeData()
#
# #calculate the differential correlation score for edges
# EdgeCorScore<-calEdgeCorScore(dataset, class.labels, controlcharactor,edgesbackgrand)
#
# #identify dysregulated pathways by using the function ESEA.Main
# #Results<-ESEA.Main(EdgeCorScore,pathwayEdge.db)
# Results<-GetExampleData("PathwayResult")
#
# #obtain the detail results of genes for a significant pathway
# PathwayNetwork<-Results[[2]][[1]]
#
# #Plot the pathway-result network diagram, the edges which contribute to the ES are labeled with red.
# PlotPathwayGraph(PathwayNetwork,layout=layout.random)
#
# ## End(Not run)
Run the code above in your browser using DataLab