exportNetwork {ASpediaFI} | R Documentation |
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.
exportNetwork(object, node = NULL, file)
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 |
a GML file containing a subnetwork
library(igraph) fi <- new('ASpediaFI', network = make_empty_graph(n = 0)) exportNetwork(fi, node = NULL, file = 'empty.gml')