heatmapInput | 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.
heatmapInput(id, eselist, type = "expression")
id |
Submodule namespace |
eselist |
ExploratorySummarizedExperimentList object containing ExploratorySummarizedExperiment objects |
type |
The type of heatmap that will be made. 'expression', 'samples' or 'pca' |
This provides the form elements to control the heatmap display
output An HTML tag object that can be rendered as HTML using as.character()
heatmapInput("heatmap", ese, group_vars, default_groupvar)
# 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.