Description Usage Arguments Value Author(s) See Also Examples
View source: R/translateNCI2GeneID.R
Gives the entrezID corresponding to the nodes of a graph.
1 |
g |
A |
A vector of character
giving the entrez ID of the nodes of g.
Laurent Jacob
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ##------------------------------
## Load NCIgraph
##------------------------------
library(NCIgraph)
## Get some raw networks
data("NCIgraphVignette", package="NCIgraph")
## Parse them
grList <- getNCIPathways(cyList=NCI.demo.cyList, parseNetworks=TRUE, entrezOnly=TRUE, verbose=TRUE)$pList
## Get the gene ids for the first of them
gids <- translateNCI2GeneID(grList[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.