exportNetwork: Export network to GML format

Description Usage Arguments Value Examples

View source: R/exportNetwork.R

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

1
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

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

ASpediaFI documentation built on Nov. 8, 2020, 8:13 p.m.