inst/corheatmap/app.R

library(shiny)
library(corheatmap)

ui <- fluidPage(
  titlePanel("Heatmap using Correlation"),
  sidebarPanel(
    corHeatmapUI("cor")
  ),
  mainPanel(
    corHeatmapOutput("cor")
  )
)

server <- function(input, output, session) {
  callModule(corHeatmap, "cor")
}

shinyApp(ui, server)
byandell/corheatmap documentation built on May 13, 2019, 9:27 a.m.