Heat Map.
Arguments
- data
A data frame containing the input data. Only numeric columns will be used.
- scale
Character. Optional scaling method. One of NULL (no scaling), "log2" (log2 transformation), "row_zscore" (z-score normalization by row), or "col_zscore" (z-score normalization by column). Default is NULL.
- annotation_col
Optional. A character string specifying a column name in
data
or a vector of annotations matching the number of rows or columns indata
for adding colored annotations to the heatmap.- annotation_side
Character. Specifies whether the annotation should be applied to rows or columns. One of "auto" (automatically determine based on length), "row", or "col". Default is "auto".