mergeGraphs | R Documentation |
The function merges a list of KEGG graphs into one graph object. The merged graph have unique nodes, and edges are merged into non-duplicate sets.
For the reason of speed, mergeGraphs
discards KEGG node and
edge informations. To maintain them while merging graphs, please use mergeKEGGgraphs
.
mergeGraphs(list, edgemode = "directed")
list |
A list of graph objects, which can be created by |
edgemode |
Edge mode of the graph product, by default 'directed' |
The function takes a list of graphs and merges them into a new graph. The nodes of individual graphs must be unique. The function takes care of the removal of duplicated edges.
A directed graph
It is known that graphs from C.elegance pathways have problem when merging, because the nodes name are not consistent betweeen edge records and entry IDs.
Jitao David Zhang <jitao_david.zhang@roche.com>
parseKGML2Graph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.