Skip to contents

This function accepts a glyexp::experiment(), performs correlation analysis using glystats::gly_cor(), and plots a correlation matrix heatmap.

Usage

plot_corrplot(exp, on = "variable", ...)

Arguments

exp

A glyexp::experiment() object.

on

A character string specifying what to correlate. Either "variable" (default) to correlate variables/features, or "sample" to correlate samples/observations.

...

Additional arguments passed to glystats::gly_cor() and autoplot().

Value

A ggplot object.