simplifyGraph: simplifyGraph

View source: R/Functions_graph_utilities.R

simplifyGraphR Documentation

simplifyGraph

Description

Assign a color from a range of colors to all values in a numeric vector (datarange). NOTE: Edges are expected to not have a direction.

Usage

simplifyGraph(nodes, edges, mergebyedges)

Arguments

nodes

a node table

edges

an edge table with "from" and "to" as the first two columns. "From" and "to" have to refer to rownumbers of nodes.

mergebyedges

indices by of those edges in edges that link two nodes that should be joined

Details

TODO: Debug and simplify this function


mjhelf/METABOseek documentation built on April 27, 2022, 5:13 p.m.