@MetaInfServices(value=Service.class) @Alias(value="structure-export") @ServiceStatus(value=RELEASED) public class GraphStructureExportService extends Object implements Service
Constructor and Description |
---|
GraphStructureExportService() |
Modifier and Type | Method and Description |
---|---|
void |
biolayoutExport(Graph graph,
Collection<Edge<?>> edges,
String filename)
Encode the graph to struct output
|
void |
cytoscapeExport(RegulatoryGraph graph,
String filename)
Run the Cytoscape export by instantiating and calling a CytoscapeEncoder
|
void |
graphvizExport(Graph graph,
Collection<Object> nodes,
Collection<Edge<?>> edges,
String filename) |
public void biolayoutExport(Graph graph, Collection<Edge<?>> edges, String filename) throws IOException
graph
- the graph to encodeedges
- the list of edges that must be part of the outputfilename
- the path to the output fileIOException
public void graphvizExport(Graph graph, Collection<Object> nodes, Collection<Edge<?>> edges, String filename) throws IOException
IOException
public void cytoscapeExport(RegulatoryGraph graph, String filename) throws GsException, IOException
graph
- the graph to exportfilename
- the path to the output xgmml fileGsException
IOException
Copyright © 2005–2020. All rights reserved.