Skip to contents

plot correlation heatmap with annotations

Usage

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

Examples


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

if (require("iheatmapr")) {
  pheat_map <- plot_heatmap_cor_iheatmap( analysis, config )
  stopifnot("IheatmapHorizontal" %in% class(pheat_map))
  pheat_map <- plot_heatmap_cor_iheatmap( analysis, config, R2 = TRUE )
  stopifnot("IheatmapHorizontal" %in% class(pheat_map))
}
#> Loading required package: iheatmapr