order_heatmap: Order the columns of a heatmap within the constraints of a...

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Order the columns of a heatmap within the constraints of a factor Generally, a left to right gradient will be achieved where column means will increase from left to right.

Usage

1
order_heatmap(expmat, factorCol, factorRow = NULL, rev = FALSE)

Arguments

expmat

expression matrix

factorCol

factor with metadata information for each column in the expression matrix

factorRow

factor with metadata information for each row in the expression matrix

Value

ordered expression matrix ready for heatmaps (do not cluster columns or rows, respectively)


fossbert/binilib documentation built on April 23, 2021, 10:31 p.m.