View source: R/networkFromGenes.R
networkFromGenes | R Documentation |
By providing a list of given genes, build a network for input of filterNetwork.
networkFromGenes(genes, interactionmap, level = 3, unrooted = FALSE)
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. |
a list with elements: rootgene: The nodes with maximal connections. sifNetwork: Transcription regulatory network table.
data("ce.interactionmap")
data("example.data")
genes <- as.character(example.data$ce.bind$from)
xx<-networkFromGenes(example.data$ce.bind, ce.interactionmap, level=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.