Description Usage Arguments Details Author(s) References See Also Examples
More customized heatmap that is designed based on heatmap.2 that gives user control over color key
1 |
Exprs |
A numeric matrix or data.frame |
sel |
Whether you want to pre-filter the genes first based on average expression and variance |
thres_mean |
If 'sel' is set to TRUE, what threshold you wanna use for average expression |
thres_var |
If 'sel' is set to TRUE, what threshold you wanna use for variance |
numbreaks |
The number of breaks for colorkey. Default to 100 |
col |
A vector of length 3 of colors you want to use for colorkey. Default to c("blue", "white", "red") |
breakratio |
How you wanna the colorkey to be partitioned according to the colors. |
colsidebar |
Whether you want to add a column side bar above the heatmap |
Colv |
Logical value indicating whether you want to perform clustering on columns |
Rowv |
Logical value indicating whether you want to perform clustering on rows |
scale |
Whether you want to scale the input matrix row-wise or column wise so that each row or column has mean equals to 0 and variance equals to 1. Possible values are 'row' and 'column' |
labRow |
Logical value indicating whether you want to label rows based on row names of input matrix |
labCol |
Logical value indicating whether you want to label columns based on column names of input matrix |
dendrogram |
One of values in "both", "row", "column", "none". Indicating how you wanna the dendrogram to be drawn |
heatmap.3 internally calls heatmap.2 from gplots package, which uses layout to arragent the plot elements. Consequentially, it can not be used in a multi column/row layout using layout(...), par(mfrow=...) or (mfcol=...).
Yuanhang Liu
https://github.com/Liuy12/MBDDiff
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.