determine_color_gradient: Obtain color gradient for heatmap

Description Usage Arguments

Description

Obtain color gradient for heatmap

Usage

1
determine_color_gradient(xx, quantile_val = 0, center_scale = T, AP = NULL)

Arguments

xx

a matrix or dataframe that will be the input of the heatmap

quantile_val

the dynamic range of the heatmap. For example, if it is 0.05, the heatmap gradient will go from 5% to 95% percentile of the values in xx

center_scale

whether to color the middle of the dynamic range as white. Otherwise, 0 is colored white.


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.