starHeatmap: Heatmap with stars for extra data

starHeatmap2R Documentation

Heatmap with stars for extra data

Description

Plot heatmap with stars in the tile to encode for another data (significance, effect size, etc)

Helper for starHeatmap2 with hm_values = data

@param hm_values Values for the heatmap colors

Usage

starHeatmap2(hm_values, data, encoding = "size", return_list = FALSE, ...)

starHeatmap(data, ...)

valueHeatmap2(hm_values, data, ...)

Arguments

hm_values

Values for the colors of the heatmap tiles

data

Values for the heatmap text

encoding

One of c('size', 'count', 'multi_count') for whether the value in data should be encoded by the size of one star or a number of stars on one or multiple lines

return_list

If FALSE the heatmap is plotted with a legend, if TRUE returns a list with fields 'object' for the Heatmap object and 'annotation_legend_list' for the annotation corresponding to the encoding.


MathurinD/drugResistance documentation built on July 4, 2025, 10:30 p.m.