translateNCI2GeneID: Gives the entrezID corresponding to the nodes of a graph

Description Usage Arguments Value Author(s) See Also Examples

View source: R/translateNCI2GeneID.R

Description

Gives the entrezID corresponding to the nodes of a graph.

Usage

1

Arguments

g

A graph object.

Value

A vector of character giving the entrez ID of the nodes of g.

Author(s)

Laurent Jacob

See Also

parseNCInetwork()

Examples

 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]])

NCIgraph documentation built on Nov. 8, 2020, 5:54 p.m.