Description Usage Arguments Value Author(s) See Also Examples
View source: R/getNCIPathways.R
Loads networks from Cytoscape and parses them.
1 | getNCIPathways(cyList=NULL, parseNetworks=TRUE, entrezOnly=TRUE, verbose=FALSE)
|
cyList |
a |
verbose |
If |
parseNetworks |
A |
entrezOnly |
A |
A list
of two elements: pList, a list
of graphNEL objects,
and failedW a list
containing the names of the networks that R
failed to read from cytoscape.
Laurent Jacob
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ##------------------------------
## Load NCIgraph
##------------------------------
library(NCIgraph)
##------------------------------
## Example 1: with Cytoscape
##------------------------------
## Must have Cytoscape running with some networks open and CyREST plugin started.
## In this case, getNCIPathways will both read the raw networks from Cytoscape and parse them.
## Not run:
grList <- getNCIPathways(cyList=NULL, parseNetworks=TRUE, entrezOnly=TRUE, verbose=TRUE)$pList
## End(Not run)
##------------------------------
## Example 2: without Cytoscape
##------------------------------
## Get some raw networks
data("NCIgraphVignette", package="NCIgraph")
## When passed a non null cyList argument (a list of networks),
## getNCIPathways will simply parse the list of networks
grList <- getNCIPathways(cyList=NCI.demo.cyList, parseNetworks=TRUE, entrezOnly=TRUE, verbose=TRUE)$pList
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.