Learn R Programming

NCIgraph (version 1.20.0)

getSubtype.NCIgraph: Returns a list of @KEGGEdgeSubType objects describing each edge of the NCI network

Description

Returns a list of @KEGGEdgeSubType objects describing each edge of the NCI network.

Usage

getSubtype.NCIgraph(object)

Arguments

object
An NCIgraph object.

Value

list of KEGGEdgeSubType objects.

Examples

Run this code
##------------------------------
## 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 subtype of the second network. Some activation and some
## inhibition edges.
##
##----------------------------------------------------------------

getSubtype.NCIgraph(grList[[2]])

Run the code above in your browser using DataLab