Description Usage Arguments Value Examples
This function creates a graph for each sample where metabolites are nodes and the enzymes are the edges, whose weight is given by the expression value. It simplifies the multiedges in single ones by taking the mean of enzyme catalyzing the same reaction and summing up those coming from different reactions.
1 | getMetGraph(input_dir, output_dir)
|
input_dir |
path to input directory containing the samples edge lists |
output_dir |
path to output directory |
graphs in graphml format
1 2 3 4 5 | ## Not run:
input_dir <- system.file("extdata/edges_list/", package = "MetabolitesGraphs")
output_dir <- "/path/to/ouput/"
getMetGraph(input_dir,output_dir)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.