exportNetwork: Network exporter

Description Usage Arguments Examples

View source: R/helper.R

Description

exportNetwork writes the panda network (RegNet) to foreign file formats.

Usage

1
exportNetwork(x, file, format = "ncol")

Arguments

x

An object of class "panda" or an incidence network matrix.

file

A connection or a string giving the file name to output the network.

format

Character string giving the file format supported by igraph.

Examples

1
2
3
4
data(pandaToyData)
pandaRes <- panda(pandaToyData$motif, pandaToyData$expression, pandaToyData$ppi)
topPandaRes <- topedges(pandaRes, 1000)
exportNetwork(topPandaRes, 'topPandaRes.txt')

QuackenbushLab/pandaR documentation built on May 9, 2017, 8:42 p.m.