Draw expression heatmap
draw_heatmap(
data,
subset = NULL,
show_rownames = FALSE,
title = "Expression dataset",
log = TRUE,
profiles = FALSE,
conditions = NULL
)
expression dataframe, with genes as rownames and samples as columns
subset of genes to be display
show rownames or not
plot title
Show log(expression+1) in the heatmap if TRUE, expression if FALSE
Show expression/mean(expression) for each gene if TRUE, expression if FALSE
if NULL, shows all the conditions, else if character vector, shows only the required ones
data("abiotic_stresses")
DIANE::draw_heatmap(abiotic_stresses$normalized_counts, subset = abiotic_stresses$heat_DEGs,
title = "Log expression for DE genes under heat stress")