Create a graphML object which can be imported in cytoscape This function is based on the tronco.plot fuction

export.graphml(x, file, ...)

Arguments

x

A TRONCO compliant dataset

file

Where to save the output

...

parameters for tronco.plot

Examples

data(test_model)
export.graphml(test_model, file='text.xml', scale.nodes=0.3)
#> *** Expanding hypotheses syntax as graph nodes:
#> *** Rendering graphics
#> Nodes with no incoming/outgoing edges will not be displayed.
#> RGraphviz object prepared.