Description Usage Arguments Examples
Generate a ggplot2 heatmap with row and column dendrograms
1 2 3 | ggheatmap(dataMatrix, orderCol = T, orderRow = T, dendroLineSize = 0.5,
fontSize = 20, colorScheme = "Spectral", scaleName = "value",
distMethod = "euclidean", clustMethod = "complete")
|
dataMatrix |
A data.frame containing the input data. |
orderCol |
Reorder the columns (default=T) |
orderRow |
Reorder the rows (default=T) |
dendroLineSize |
Size of the dendrogram lines (default=0.5) |
fontSize |
Font size (default=20) |
scaleName |
Name of the colorscale (default="value") |
distMethod |
Distance method (default="euclidean", see ?dist) |
clustMethod |
Clustering method (default="complete", see ?hclust) |
colorPalette |
Color palette (default="Spectral") |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.