plot_heatmap_DEseq | R Documentation |
This function selects DEGs from a contrast result, optionally applies voom transformation and batch correction, then displays a z‑scored heatmap of expression across samples.
plot_heatmap_DEseq(
contrast_df,
count_mat,
meta_df,
cleanBatch = TRUE,
VoomTrans = FALSE,
BatchFeat = NULL,
gene_meta,
filter = FALSE,
padj_thr = 0.05,
absLog2FC_thr = 0.58
)
contrast_df |
A data.frame of DE results with columns:
|
count_mat |
Numeric matrix of raw counts (rows=genes, cols=samples).
Row names must match |
meta_df |
Data.frame of sample metadata; rows must align with cols of |
cleanBatch |
Logical; if |
VoomTrans |
Logical; if |
BatchFeat |
Character; the column name in |
gene_meta |
Data.frame mapping |
filter |
Logical; if |
padj_thr |
Numeric cutoff for adjusted p‑value when |
absLog2FC_thr |
Numeric cutoff for absolute log2 fold‑change when |
Invisibly returns the pheatmap
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.