View source: R/Visualization_DEG.R
DEGtopHeatmap | R Documentation |
default will return a top 100 deg heatmap in p value = 0.05
DEGtopHeatmap(
object,
which,
top = 50,
filename = NA,
show_gene = TRUE,
category = "H",
palette = RColorBrewer::brewer.pal(3, "Set2")[1:2],
...
)
object |
a counts data frame of rows in genes and columns in samples |
which |
which model of deg analysis. kinds of DEG; can be "limma", "edgeR", "DESeq2" or "MSigDB" |
top |
a single number or a length of 2 numeric vector, if 2 numeric vector, first one is top max logFC. |
filename |
NA or a file path |
show_gene |
logical,show gene name |
category |
MSigDB collection abbreviation, such as H or C1. |
palette |
a color palette for plots |
... |
More |
a heatmap plot file
DEGtopHeatmap(object,which = "limma")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.