Learn R Programming

Bioconductor_RCy3

This package replaces RCytoscape for Cytoscape 3 and higher

RCy3 Environment Setup

In addition to this package (RCy3), you will need:

  1. Java SE 8. Cytoscape and CyREST currently do not support Java SE 6 anymore. It can be can downloaded from Oracle here: http://www.oracle.com/technetwork/java/javase/downloads/index.html. Java SE 7 works only in combination with Cytoscape 3.2.0.
  2. Cytoscape 3.3.+ (with installed CyREST plugin 3.3.1+). Cytoscape can be downloaded using this URL: http://www.cytoscape.org/download.php. The CyREST plugin, a Cytoscape plugin which provides the Cytoscape end of the communication layer, can be easily be installed via the integrated app store or it can be downloaded from here: http://apps.cytoscape.org/apps/cyrest. See instructions below.
  3. R 3.2+ (and RStudio as IDE if desired) which can be downloaded here: http://cran.r-project.org.

Setup steps:

First install Java, then Cytoscape and follow the instructions on the screen.

Option 1: Open Cytoscape, click on "Apps" in the menubar and select "App Manager". In the App Manager on the "Install Apps" tab, type "CyREST" in the search bar and click on CyREST when it appears and then click on "Install".

Option 2: Alternatively you can download the CyREST plugin as .jar file from Cytoscape's app store here: http://apps.cytoscape.org/apps/cyrest. Then, open Cytoscape, click on "Apps" in the menubar and select "App Manager". In the App Manager on the "Install Apps" tab click on "Install from File...", choose the .jar file that you just downloaded, then click "Open" and then "Install". You are all set!

(To work on the project, you will also need the following packages: RCurl, RJSONIO, httr, igraph as well as the Bioconductor packages: graph.) source("http://bioconductor.org/biocLite.R") biocLite("graph")

More background reading: http://www.biomedcentral.com/1471-2105/14/217

Copy Link

Version

Version

1.2.0

License

Artistic-2.0

Maintainer

Tanja Muetze

Last Published

February 15th, 2017

Functions in RCy3 (1.2.0)

CytoscapeWindowClass-class

Class "CytoscapeWindowClass"
copyVisualStyle

copyVisualStyle
deleteWindow

deleteWindow
getAllNodes

getAllNodes
addCyNode

addCyNode
getFirstNeighbors

getFirstNeighbors
deleteSelectedEdges

deleteSelectedEdges
getNodeCount

getNodeCount
hidePanel

hidePanel
pluginVersion

pluginVersion
sendNodes

sendNodes
saveImage

saveImage
hideAllPanels

hideAllPanels
setNodeBorderWidthRule

setNodeBorderWidthRule
setDefaultEdgeLineWidth

setDefaultEdgeLineWidth
setNodeBorderOpacityDirect

setNodeBorderOpacityDirect
setDefaultNodeBorderWidth

setDefaultNodeBorderWidth
setNodeOpacityDirect

setNodeOpacityDirect
setNodeImageDirect

setNodeImageDirect
setNodeSizeDirect

setNodeSizeDirect
CytoscapeConnectionClass-class

Class "CytoscapeConnectionClass"
dockPanel

dockPanel
deleteEdgeAttribute

deleteEdgeAttribute
setEdgeAttributes

setEdgeAttributes
setNodeBorderColorRule

setNodeBorderColorRule
setNodePosition

setNodePosition
eda

eda
setNodeLabelDirect

setNodeLabelDirect
eda.names

eda.names
selectNodes

selectNodes
fitSelectedContent

fitSelectedContent
setDefaultNodeBorderColor

setDefaultNodeBorderColor
floatPanel

floatPanel
getAdjacentEdgeNames

getAdjacentEdgeNames
setEdgeTargetArrowColorDirect

setEdgeTargetArrowColorDirect
getLayoutNameMapping

getLayoutNameMapping
getNodeAttribute

getNodeAttribute
setEdgeTooltipDirect

setEdgeTooltipDirect
setNodeBorderWidthDirect

setNodeBorderWidthDirect
initNodeAttribute

initNodeAttribute
setNodeSizeRule

setNodeSizeRule
setCenter

setCenter
setDefaultNodeReverseSelectionColor

setDefaultNodeReverseSelectionColor
setDefaultNodeColor

setDefaultNodeColor
deleteNodeAttribute

deleteNodeAttribute
getDefaultEdgeReverseSelectionColor

getDefaultEdgeReverseSelectionColor
setEdgeAttributesDirect

setEdgeAttributesDirect
setEdgeLabelOpacityDirect

setEdgeLabelOpacityDirect
getDefaultNodeSelectionColor

getDefaultNodeSelectionColor
setLayoutProperties

setLayoutProperties
addGraphToGraph

addGraphToGraph
getEdgeAttributeNames

getEdgeAttributeNames
setEdgeTargetArrowShapeDirect

setEdgeTargetArrowShapeDirect
setNodeShapeRule

setNodeShapeRule
getViewCoordinates

getViewCoordinates
layoutNetwork

layoutNetwork
getCenter

getCenter
getDefaultEdgeSelectionColor

getDefaultEdgeSelectionColor
sendEdges

sendEdges
setNodeShapeDirect

setNodeShapeDirect
setNodeHeightDirect

setNodeHeightDirect
setEdgeColorDirect

setEdgeColorDirect
getSelectedNodes

getSelectedNodes
setNodeLabelRule

setNodeLabelRule
initEdgeAttribute

initEdgeAttribute
setNodeAttributes

setNodeAttributes
invertNodeSelection

invertNodeSelection
setNodeLabelColorDirect

setNodeLabelColorDirect
setNodeColorDirect

setNodeColorDirect
invertEdgeSelection

invertEdgeSelection
setNodeOpacityRule

setNodeOpacityRule
setNodeWidthDirect

setNodeWidthDirect
saveLayout

saveLayout
raiseWindow

raiseWindow
selectEdges

selectEdges
setDefaultEdgeSourceArrowColor

setDefaultEdgeSourceArrowColor
setEdgeLineStyleRule

specify the line styles to be used in drawing edges
setDefaultEdgeColor

setDefaultEdgeColor
setEdgeLineWidthRule

setEdgeLineWidthRule
setEdgeSourceArrowOpacityDirect

setEdgeSourceArrowOpacityDirect
setNodeFillOpacityDirect

setNodeFillOpacityDirect
setNodeFontSizeDirect

setNodeFontSizeDirect
getAllEdgeAttributes

getAllEdgeAttributes
existing.CytoscapeWindow

existing.CytoscapeWindow
getGraph

getGraph
getAttributeClassNames

getAttributeClassNames
clearSelection

clearSelection
getEdgeCount

getEdgeCount
getNodeShapes

getNodeShapes
getDirectlyModifiableVisualProperties

getDirectlyModifiableVisualProperties
getLayoutNames

getLayoutNames
cyPlot

cyPlot
fitContent

fitContent
getNodePosition

getNodePosition
getVisualStyleNames

getVisualStyleNames
hideNodes

hideNodes
getNodeSize

getNodeSize
displayGraph

displayGraph
makeRandomGraph

makeRandomGraph
redraw

redraw
getAllEdges

getAllEdges
getDefaultBackgroundColor

getDefaultBackgroundColor
saveNetwork

saveNetwork
getWindowCount

getWindowCount
setDefaultEdgeTargetArrowColor

setDefaultEdgeTargetArrowColor
getSelectedNodeCount

getSelectedNodeCount
setEdgeLabelRule

setEdgeLabelRule
setEdgeSourceArrowColorDirect

setEdgeSourceArrowColorDirect
setDefaultNodeSize

setDefaultNodeSize
getZoom

getZoom
setEdgeTargetArrowColorRule

Specify rule for the target arrow color
ping

ping
setEdgeOpacityRule

setEdgeOpacityRule
setEdgeTooltipRule

setEdgeTooltipRule
setNodeColorRule

setNodeColorRule
hideSelectedEdges

hideSelectedEdges
setTooltipInitialDelay

setTooltipInitialDelay
setDefaultNodeFontSize

setDefaultNodeFontSize
setNodeTooltipRule

setNodeTooltipRule
setNodeAttributesDirect

setNodeAttributesDirect
setNodeBorderColorDirect

setNodeBorderColorDirect
setVisualStyle

setVisualStyle
setZoom

setZoom
addCyEdge

addCyEdge
createWindowFromSelection

createWindowFromSelection
CytoscapeWindow

CytoscapeWindow
CytoscapeConnection

CytoscapeConnection
deleteAllWindows

deleteAllWindows
createWindow

createWindow
getAllNodeAttributes

getAllNodeAttributes
getEdgeAttribute

getEdgeAttribute
getLayoutPropertyValue

getLayoutPropertyValue
getSelectedEdgeCount

getSelectedEdgeCount
getWindowID

getWindowID
lockNodeDimensions

lockNodeDimensions
noa

noa
setDefaultEdgeSelectionColor

setDefaultEdgeSelectionColor
noa.names

noa.names
setDefaultNodeLabelColor

setDefaultNodeLabelColor
setDefaultEdgeReverseSelectionColor

setDefaultEdgeReverseSelectionColor
setEdgeFontSizeDirect

setEdgeFontSizeDirect
setEdgeOpacityDirect

setEdgeOpacityDirect
setEdgeTargetArrowOpacityDirect

setEdgeTargetArrowOpacityDirect
setTooltipDismissDelay

setTooltipDismissDelay
setGraph

setGraph
setEdgeColorRule

setEdgeColorRule
showGraphicsDetails

showGraphicsDetails
getLineStyles

getLineStyles
getNodeAttributeNames

getNodeAttributeNames
restoreLayout

restoreLayout
makeSimpleGraph

makeSimpleGraph
setDefaultNodeSelectionColor

setDefaultNodeSelectionColor
hideSelectedNodes

hideSelectedNodes
setEdgeLabelDirect

setEdgeLabelDirect
setEdgeSourceArrowRule

specify the arrow types to be used at the end of an edge at the 'source' node
setEdgeLineWidthDirect

setEdgeLineWidthDirect
setEdgeLineStyleDirect

setEdgeLineStyleDirect
setEdgeTargetArrowRule

specify the arrow types to be used at the end of an edge, at the 'target' node
deleteSelectedNodes

deleteSelectedNodes
cy2.edge.names

cy2.edge.names
demoSimpleGraph

demoSimpleGraph
getLayoutPropertyNames

getLayoutPropertyNames
getGraphFromCyWindow

getGraphFromCyWindow
getArrowShapes

getArrowShapes
getDefaultNodeReverseSelectionColor

getDefaultNodeReverseSelectionColor
getSelectedEdges

getSelectedEdges
getLayoutPropertyType

getLayoutPropertyType
selectFirstNeighborsOfSelectedNodes

selectFirstNeighborsOfSelectedNodes
getWindowList

getWindowList
predictTimeToDisplayGraph

predictTimeToDisplayGraph
setDefaultBackgroundColor

setDefaultBackgroundColor
setDefaultEdgeFontSize

setDefaultEdgeFontSize
setDefaultNodeShape

setDefaultNodeShape
setEdgeLabelColorDirect

setEdgeLabelColorDirect
setEdgeSourceArrowColorRule

Specify Rule for the Source Arrow Color
setEdgeSourceArrowShapeDirect

setEdgeSourceArrowShapeDirect
setWindowSize

setWindowSize
setNodeLabelOpacityDirect

setNodeLabelOpacityDirect
unhideAll

unhideAll