This function generates heatmaps
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | heatmap3(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 = max(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("none", "column", "row", "both"),
tracecol = "cyan", hline = median(breaks), vline = median(breaks),
linecol = tracecol, margins = c(5, 5), ColSideColors, RowSideColors,
side.height.fraction = 0.3, cexRow = 0.2 + 1/log10(nr), cexCol = 0.2 +
1/log10(nc), labRow = NULL, labCol = NULL, key = TRUE, keysize = 1.5,
density.info = c("none", "histogram", "density"), denscol = tracecol,
symkey = max(x < 0, na.rm = TRUE) || symbreaks, densadj = 0.25,
main = NULL, xlab = NULL, ylab = NULL, lmat = NULL, lhei = NULL,
lwid = NULL, ColSideColorsSize = 1, RowSideColorsSize = 1,
KeyValueName = "Value", ...)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.