networkFromGenes: Build network by a list of given genes

View source: R/networkFromGenes.R

networkFromGenesR Documentation

Build network by a list of given genes

Description

By providing a list of given genes, build a network for input of filterNetwork.

Usage

networkFromGenes(genes, interactionmap, level = 3, unrooted = FALSE)

Arguments

genes

A vector of character for interested genes.

interactionmap

Transcription regulatory map. Column names of interactionmap must be 'from','to'

level

Depth of node path

unrooted

Return unrooted regulatory network table or not.

Value

a list with elements: rootgene: The nodes with maximal connections. sifNetwork: Transcription regulatory network table.

Examples

data("ce.interactionmap")
data("example.data")
genes <- as.character(example.data$ce.bind$from)
xx<-networkFromGenes(example.data$ce.bind, ce.interactionmap, level=2)

jianhong/GeneNetworkBuilder documentation built on Nov. 4, 2024, 5:54 a.m.