Skip to contents

Creates scatter plots to visualize correlation between spatial and reference dataset expression values across samples.

Usage

plotCorrelation(df)

Arguments

df

Data frame with sample_id, value_sample, and value_ref columns indicating sample IDs and expression values in the spatial and reference datasets, respectively.

Value

A ggplot object showing correlation scatter plots for each sample, with log-transformed axes.