saveNetwork | R Documentation |
The function plots a RNC subnetwork from graphNEL or igraph format. It is used to visualize the modules. For further plotting options use the plot.igraph function of the igraph package. The shapes of the nodes can be changed according to the scores argument
saveNetwork( network, name = "network", file, type = c("table", "XGMML", "sif", "tab") )
network |
A graph in igraph or graphNEL format. |
name |
Name of the network, only needed for the XGMML format. |
file |
File name to save. |
type |
Type in which graph shall be saved. |
Daniela Beisser, Gunnar W. Klau, Thomas Dandekar et al. (2010) BioNet: an R-Package for the functional analysis of biological networks
## Not run: data("dataN") gene2weight <- combinp(dataN[,c("type","logFC","PValue")]) interac <- interStringency(type = "transcription", spec ="hg", stringency = "strict") interac <- interac[,c("node_gene_ID","type","target_gene_ID")] res.list_global <- runmodule(network = interac, gene2weight, method = "global",FDR = 1e-14) saveNetwork(res.list_global$module,file="filenames",type = "XGMML") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.