Learn R Programming

NCIgraph (version 1.20.0)

parseNCInetwork: Takes a NCI network and transforms it into a simpler graph only representing inhibition/activation relationships between genes

Description

Takes a NCI network and transforms it into a simpler graph only representing inhibition/activation relationships between genes.

Usage

parseNCInetwork(g, propagateReg=TRUE, separateEntrez=TRUE, mergeEntrezCopies=TRUE, entrezOnly=TRUE)

Arguments

g
A graph object.
propagateReg
A logical. If TRUE, use propagateRegulation to transform the network before parsing it.
separateEntrez
A logical. If TRUE, don't merge two nodes with entrezID.
mergeEntrezCopies
A logical. If TRUE, merge resulting nodes that have the same entrezID.
entrezOnly
A logical. If TRUE, only keep nodes with an entrezID property.

Value

graph object.

Examples

Run this code
## Load NCIgraph

library(NCIgraph)

## Get some raw networks

data("NCIgraphVignette", package="NCIgraph")

## Parse the first of them

parsedNetwork <- parseNCInetwork(NCI.demo.cyList[[1]],propagateReg=TRUE,separateEntrez=TRUE,mergeEntrezCopies=TRUE,entrezOnly=TRUE)

Run the code above in your browser using DataLab