nonNegCascadeOrder: Order rows of a matrix with non-negative maximum values in...

View source: R/cascadePlot.R

nonNegCascadeOrderR Documentation

Order rows of a matrix with non-negative maximum values in the cascade order

Description

Order rows of a matrix with non-negative maximum values in the cascade order

Usage

nonNegCascadeOrder(matrix)

Arguments

matrix

A matrix with non-negative maximum values of rows.

The function is internally called by cascadeOrder to order the rows of the matrix with non-negative maximum values. The function works by ordering the rows by peaks (in which column does the value peak?) and then by maximum values (what are the maximum values?). In case of invariant rows and rows of NAs, they are put at last.

If maximum values of the rows are negative, negate the matrix before passing it to the matrix (see cascadeOrder).


bedapub/ribiosPlot documentation built on Sept. 1, 2023, 6:50 p.m.