exportNetwork {ASpediaFI} | R Documentation

## Export network to GML format

### Description

Export a subnetwork pertaining to the given pathway to GML format which can be used in Cytoscape. If no pathway is given, the entire final subnetwork is exported.

### Usage

    exportNetwork(object, node = NULL, file)

### Arguments

`object` | Object of class ASpediaFI
`node` | the name of pathway. If NULL, the entire subnetwork is exported.
`file` | the file name to export the network

### Value

a GML file containing a subnetwork

### Examples

    library(igraph)
    fi <- new('ASpediaFI', network = make_empty_graph(n = 0))
    exportNetwork(fi, node = NULL, file = 'empty.gml')

[Package ASpediaFI version 1.1.4 Index]