resetCytoscapeSession: Reset Cytoscape session

Description Usage Arguments See Also Examples

View source: R/resetCytoscapeSession.R

Description

This function is useful to reset a Cytoscape session and to be sure that all networks and styles are removed before importing new ones.

Usage

1
resetCytoscapeSession(port.number = 1234)

Arguments

port.number

The local port number used by cyREST plugin to communicate with Cytoscape. By default it uses 1234.

See Also

addGraphToCytoscape saveCytoscapeSession

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# data(SpADataExpression)
# data(SpADEGenes)
# data(SpASamples)
# SpAData<-DEGeneExpr(t(SpADataExpression),SpADEGenes)

# StatusFactor<-paste(SpASamples$status,SpASamples$b27,sep=".")
# names(StatusFactor)=SpASamples$chipnum

# NodesForSIMoNe<-rownames(SpADEGenes)[1:17]
# GaussianSpAData<-DEGeneExpr(t(SpADataExpression[NodesForSIMoNe,]),SpADEGenes[NodesForSIMoNe,])

# GlobalSIMoNeNetNF<-getSIMoNeNet(GaussianSpAData)
# GlobalSIMoNeNet<-FilterEdges(GlobalSIMoNeNetNF,0.4)

# resetCytoscapeSession()
# addNetworkStyle("SIMoNeNet",class(GlobalSIMoNeNet),points.size.map="P.Value",
#	points.fill.map="logFC")
# NetId<-addGraphToCytoscape(GlobalSIMoNeNet)

stringgaussnet documentation built on May 29, 2017, 10:50 a.m.