Learn R Programming

geNetClassifier (version 1.12.0)

network2txt: network2txt

Description

Saves the GenesNetwork as text file.

Usage

network2txt(network, filePrefix = NULL, nwClass = NULL)

Arguments

network
GenesNetwork or list of GenesNetworks.
filePrefix
Character. File name prefix.
nwClass
Character. Network class.

Value

Saves the networks as text (.txt) files. The files will be saved in the current working directory as filePrefix_className.txt.

See Also

Main package function and classifier training: geNetClassifier This method's class (GenesNetwork) help page.

Examples

Run this code
## Load or calculate a network:

data(leukemiasClassifier)

## Export as text:
network2txt(leukemiasClassifier@genesNetwork, filePrefix="leukemiasNetwork")

Run the code above in your browser using DataLab