View source: R/netwokHelpers.R
ginmlToGraphml | R Documentation |
Convert a GinSim file into a GraphML file GinSim files have the extension .zginml. This utility function converts such files into the GraphML format. keeping the kind - fate, input or gene -, the edge sign and the rule - formulae - data.
ginmlToGraphml(ginzipFile, fates = c(), dest = NULL)
ginzipFile |
The path to the .zginml file. The GraphML file will be created in the same directory. |
fates |
A vector of fate names. If left empty, both fate and gene nodes will be labelled as kind='gene' |
dest |
The path to the graphml file that will be created. If NULL, defaults to the same path as the zginml file, but with the graphml extension. |
A vector with the lines of the newly created GraphML file.
filename = system.file("extdata", "example_ginsim.zginml", package = "ingres") head(ginmlToGraphml(filename))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.