heatmapServer | R Documentation |
heatmapServer()
creates a ggplot2 plot object using biovisr::matrix_heatmap
from the supplied count matrix, sample info and gene metadata
heatmapServer(
id,
counts = NULL,
sample_info = NULL,
gene_metadata = NULL,
transform = NULL,
debug = NULL
)
id |
namespace id for the UI components. Must match the id provided to the
|
counts |
a reactive counts object. Should contain only numeric columns |
sample_info |
a reactive object. Represents the samples and associated metadata |
gene_metadata |
a reactive object. Contains the metadata for the genes present in the counts object. |
transform |
reactive that contains the contents of input$transform from the transform module |
debug |
Turn on debugging message statements |
a shiny::reactive()
object which is the heatmaped counts
heatmapServer("rnaseqData", counts = reactive(rnaseqVis::counts[1:10,1:5]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.