plotHeatmap | R Documentation |
Given a matrix or list of matrizes x
this function
visualizes each matrix with a heatmap.
plotHeatmap(x, value.name = "Value", show.values = FALSE)
x |
[ |
value.name |
[ |
show.values |
[ |
[ggplot
] ggplot object.
# simulate two (correlation) matrizes
x = matrix(runif(100), ncol = 10)
y = matrix(runif(100), ncol = 10)
## Not run:
pl = plotHeatmap(x)
pl = plotHeatmap(list(x, y), value.name = "Correlation")
pl = plotHeatmap(list(MatrixX = x, MatrixY = y), value.name = "Correlation")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.