Plots empirical vs. theoretical quantiles for selected genes, with optional customization of labels and title.
Usage
plot_qq_correlation(
empirical,
theoretical,
method = c("pearson", "spearman"),
facet_levels = NULL,
title = NULL,
x_label = NULL,
y_label = NULL,
point_size = 1
)
Arguments
- empirical
Matrix of empirical quantiles (quantiles × genes)
- theoretical
Matrix of theoretical quantiles (same dimensions)
- method
Correlation method: "pearson" or "spearman"
- facet_levels
Vector of gene names to plot (must match colnames)
- title
Optional plot title
- x_label
Optional x-axis label
- y_label
Optional y-axis label
- point_size
Size of points. Default is 1.