defineBreaks: defineBreaks

View source: R/defineBreaks.R

defineBreaksR Documentation

defineBreaks

Description

Defines breaks as an input for “pheatmap“ for a given colour palette (to be used as the “color“ input in “pheatmap“).

Usage

defineBreaks(col_pal, lb = -1, ub = 1, mid_point = 0.5 * (lb + ub))

Arguments

col_pal

A colour palette (of at least 4 entries)

lb

The lower bound for the breaks (i.e. the minimum value that will be shown in the heatmap).

ub

The upper bound on displayed values in the heatmap.

mid_point

The mid point on the values for the pheatmap (defaults to the mean of “lb“ and “ub“).


stcolema/mdiHelpR documentation built on July 28, 2024, 5:41 a.m.