generate_palette_complex_heatmap: Generate palette for ComplexHeatmap

Description Usage Arguments Examples

View source: R/palette.R

Description

Takes in data frame of annotations and desired colors for each value in each column, and fills in missing values and returns palette in format required by ComplexHeatmap.

Usage

1

Arguments

annotations

data frame of annotations

palette

list of character vectors, each element in list with the same name as columns in data frame, and each character vector containing the value as the name and color as the value.

Examples

1

keshavmot2/ggexp documentation built on Feb. 6, 2021, 1:38 a.m.