heatmapInput: The input function of the heatmap module

View source: R/heatmap.R

heatmapInputR Documentation

The input function of the heatmap module

Description

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.

Usage

heatmapInput(id, eselist, type = "expression")

Arguments

id

Submodule namespace

eselist

ExploratorySummarizedExperimentList object containing ExploratorySummarizedExperiment objects

type

The type of heatmap that will be made. 'expression', 'samples' or 'pca'

Details

This provides the form elements to control the heatmap display

Value

output An HTML tag object that can be rendered as HTML using as.character()

Examples

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)


pinin4fjords/shinyngs documentation built on Jan. 18, 2025, 7:09 p.m.