heatmap | R Documentation |
Three types of heatmaps are provided, employed in various places in the rnaseq app (for example), and using much of the same code. Expresssion heatmaps plot expression for samples by column and e.g. genes by row. A samples heatmap plots samples vs samples to illustrate correlation patterns. A pca heatmap plots the results of anova tests applied to examine the associations between principal components and experimental variables.
heatmap(input, output, session, eselist, type = "expression")
input |
Input object |
output |
Output object |
session |
Session object |
eselist |
ExploratorySummarizedExperimentList object containing ExploratorySummarizedExperiment objects |
type |
The type of heatmap that will be made. 'expression', 'samples' or 'pca' (default: 'expression') |
This function is not called directly, but rather via callModule() (see example).
callModule(heatmap, "heatmap", eselist, type = "pca")
# Almost certainly used via application creation
data(zhangneurons)
app <- prepareApp("heatmap", zhangneurons)
shiny::shinyApp(ui = app$ui, server = app$server)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.