Skip to contents

This function generates correlation heatmaps using Spearman correlation for a given data matrix. It creates a combined heatmap for all levels and individual heatmaps for each level specified in the condition column of the metadata.

Usage

make_correlation_heatmaps(data, meta, condition)

Arguments

data

A numeric matrix containing the data.

meta

A dataframe containing the metadata.

condition

The column name in the metadata dataframe that contains the factor levels for generating individual heatmaps.

Value

A list of `ComplexHeatmap` heatmap objects representing the correlation heatmaps.