heatmapOutput: The output function of the heatmap module

View source: R/heatmap.R

heatmapOutputR Documentation

The output 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

heatmapOutput(id, type = "")

Arguments

id

Submodule namespace

type

Heatmap type: 'pca', 'samples' or 'expression'

Value

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

Examples

heatmapOutput("heatmap")

# 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 Feb. 28, 2024, 10:19 a.m.