One edge (link) in a network. The R analog of the GraphEdge TypeScript
interface in rtemislive (~/Code/live/src/lib/types.ts).
Arguments
- source
Character: Source node id.
- target
Character: Target node id.
- weight
Optional Numeric: Edge magnitude; drives thickness. For a correlation graph, the absolute value of
r.- sign
Optional Numeric {-1, 1}: Sign of the underlying value (e.g. correlation):
1positive,-1negative. Drives edge color when present.