DMHeatMap {kyotil} | R Documentation |
Better Heatmap Function
Description
Makes a heatmap representation of correaltion coefficients easier.
Usage
DMHeatMap(x, Rowv = TRUE, Colv = if (symm) "Rowv" else TRUE,
distfun = dist, hclustfun = hclust, dendrogram =
c("both", "row", "column", "none"), symm = FALSE,
scale = c("none", "row", "column"), na.rm = TRUE, revC
= identical(Colv, "Rowv"), add.expr, breaks, symbreaks
= min(x < 0, na.rm = TRUE) || scale != "none", col =
"heat.colors", colsep, rowsep, sepcolor = "white",
sepwidth = c(0.05, 0.05), cellnote, notecex = 1,
notecol = "cyan", na.color = par("bg"), trace =
c("column", "row", "both", "none"), tracecol = "cyan",
hline = median(breaks), vline = median(breaks),
linecol = tracecol, margins = c(5, 5), ColSideColors,
RowSideColors, cexRow = 0.2 + 1/log10(nr), cexCol =
0.2 + 1/log10(nc), labRow = NULL, labCol = NULL,
labColor = NULL, axis = TRUE, heatmapOnly = FALSE, key
= TRUE, keysize = 1.5, density.info = c("histogram",
"density", "none"), denscol = tracecol, symkey = min(x
< 0, na.rm = TRUE) || symbreaks, densadj = 0.25, main
= NULL, xlab = NULL, ylab = NULL, lmat = NULL, lhei =
NULL, lwid = NULL, lower.left.only = TRUE, legend =
TRUE, legend.x = "topright", verbose = FALSE, ...)
Arguments
x |
tbd |
axis |
tbd |
heatmapOnly |
tbd |
verbose |
tbd |
legend.x |
tbd |
legend |
tbd |
Rowv |
tbdRowv |
Colv |
tbdColv |
distfun |
tbddistfun |
hclustfun |
tbdhclustfun |
dendrogram |
tbddendrogram |
symm |
tbdsymm |
scale |
tbdscale |
na.rm |
tbdna.rm |
revC |
tbdrevC |
add.expr |
tbdadd.expr |
breaks |
tbdbreaks |
symbreaks |
tbdsymbreaks |
col |
tbdcol |
colsep |
tbdcolsep |
rowsep |
tbdrowsep |
sepcolor |
tbdsepcolor |
sepwidth |
tbdsepwidth |
cellnote |
tbdcellnote |
notecex |
tbdnotecex |
notecol |
tbdnotecol |
na.color |
tbdna.color |
trace |
tbdtrace |
tracecol |
tbdtracecol |
hline |
tbdhline |
vline |
tbdvline |
linecol |
tbdlinecol |
margins |
tbdmargins |
ColSideColors |
tbdColSideColors |
RowSideColors |
tbdRowSideColors |
cexRow |
tbdcexRow |
cexCol |
tbdcexCol |
labRow |
tbdlabRow |
labCol |
tbdlabCol |
labColor |
tbdlabColor |
key |
tbdkey |
keysize |
tbdkeysize |
density.info |
tbddensity.info |
denscol |
tbddenscol |
symkey |
tbdsymkey |
densadj |
tbddensadj |
main |
tbdmain |
xlab |
tbdxlab |
ylab |
tbdylab |
lmat |
tbdlmat |
lhei |
tbdlhei |
lwid |
tbdlwid |
lower.left.only |
tbdlower.left.only |
... |
tbd... |
Examples
cor=matrix(runif(15),5,3)
breaks=c(-1,-.7,-.5,-.3,-.1,.1,.3,.5,.7,1)
hU=DMHeatMap(cor, trace="none", symm=FALSE,dendrogram="none", col=RColorBrewer::brewer.pal(
length(breaks)-1,"RdYlGn"), distfun = function(c) as.dist(1 - c), cexRow =1.5, cexCol =1.5,
lmat=rbind( c(2, 1), c(4,3) ), lhei=c(4, 1 ), breaks=breaks, margins=c(2,2), key = FALSE,
Rowv=NA, lower.left.only=FALSE)
[Package kyotil version 2024.5-8 Index]