network2txt {geNetClassifier} | R Documentation

## 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

    ## Load or calculate a network:

    data(leukemiasClassifier)

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

[Package geNetClassifier version 1.27.9 Index]