yNodeCoords: Order the riverplot nodes to minimize crossings

View source: R/plot_functions_lite.R

yNodeCoordsR Documentation

Order the riverplot nodes to minimize crossings

Description

Order the riverplot nodes to minimize crossings

Usage

yNodeCoords(
  nodes,
  edges,
  rank_flag = FALSE,
  scale_factor = 1,
  start_coords = c(1, 2),
  edgeWeightColName = "rescaled",
  scale_fun = function(x) {     return(x) }
)

Arguments

nodes

riverplot nodes

edges

riverplot nodes

rank_flag

default FALSE

scale_factor

default 1

start_coords

default c(1,2)

edgeWeightColName

"rescaled"

scale_fun

function

Value

node_ypos


hdsu-bioquant/ButchR documentation built on Jan. 28, 2023, 6:06 p.m.