plot heatmap with annotations

plot_heatmap(data, config, na_fraction = 0.4, show_rownames = FALSE, ...)

Arguments

na_fraction

fraction of NA values per row

show_rownames

if TRUE shows row names, default FALSE

Examples


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


p  <- plot_heatmap(analysis, config)
stopifnot(class(p) == "pheatmap")
p2 <- plot_heatmap(analysis, config, show_rownames = TRUE)
stopifnot(class(p) == "pheatmap")