plot correlation heatmap with annotations

plot_heatmap_cor(
  data,
  config,
  R2 = FALSE,
  color = colorRampPalette(c("white", "red"))(1024),
  ...
)

Examples


istar <- sim_lfq_data_protein_config()
#> creating sampleName from fileName column
#> completing cases
config <- istar$config
analysis <- istar$data

pheat_map <- prolfqua::plot_heatmap_cor( analysis, config )
stopifnot("pheatmap" %in% class(pheat_map))
pheat_map <- plot_heatmap_cor( analysis, config, R2 = TRUE )
stopifnot("pheatmap" %in% class(pheat_map))