exportNetwork: Export network to GML format

View source: R/exportNetwork.R

exportNetworkR 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')

nachoryu/ASpediaFI documentation built on Aug. 19, 2022, 7:51 a.m.