Learn R Programming

categoryCompare (version 1.16.2)

ccOutCyt-methods: Methods for Function ccOutCyt in Package categoryCompare

Description

Passes a ccCompareResult object to Cytoscape for interactive visualization of ccCompare results.

Arguments

Methods

signature(ccCompRes = "ccCompareResult", ccOpts = "ccOptions", ...)
At a minimum, this method requires a ccCompareResult and a ccOptions to work.
... may include:
layout = "character"
to override the default layout set by ccCompare, as well as options
postText = "character"
to add a user set string to the Cytoscape window
In addition, any of the arguments to CytoscapeWindow may also be set, such as host or port.

Details

Note that only some basic, required methods have been imported from RCytoscape for use with categoryCompare, and these are hidden in the functions within categoryCompare and are not visible to the user. If access to all the functionality of RCytoscape is desired (and trust me, there is a lot of useful stuff in there), then the user should use library(RCytoscape) directly.

See Also

ccCompareResult ccOptions ccCompare CytoscapeWindowClass

Examples

Run this code
## Not run: 
# hasCy <- (if (.Platform$OS.type %in% "windows") { (length(grep("Cytoscape", system("tasklist", intern=TRUE))) > 0)})
# 
# if hasCy {
# 	
# 	ccResults$BP <- breakEdges(ccResults$BP, 0.8)
# 	cwObj <- ccOutCyt(ccResults$BP,ccOpts)
# 	Sys.sleep(10)
# 	RCytoscape::deleteWindow(cwObj)
# 	}
# ## End(Not run)

Run the code above in your browser using DataLab