originalHeatmapOutput.Rd
UI for the original heatmap
ID of the plot.
Title of the original heatmap.
Width of the original heatmap.
Height of the original heatmap.
Which action for selecting single cells on the heatmap? Value should be click
, hover
or dblclick
.
When moving mouse on heatmap, whether to show the cursors on the four sides?
Which action needs to be responded on the server side? Value should be in click
/hover
/dblclick
, brush
and brush-output
. brush
responds in two places which are the sub-heatmap and the output components and brush-output
only responds in the output component.
A list of parameters passed to brushOpts
. Do not set an ID for the brush. An internal brush ID is automatically set.
Whether the resizing is restricted in a certain parent div? Value can be TRUE
/FALSE
or a JQuery selector.
Internally used.
if(interactive()) {
require(shinydashboard)
m = matrix(rnorm(100), 10)
ht = Heatmap(m)
body = dashboardBody(
fluidRow(
box(title = "Original heatmap", width = 4, solidHeader = TRUE, status = "primary",
originalHeatmapOutput("ht")
),
box(title = "Sub-heatmap", width = 4, solidHeader = TRUE, status = "primary",
subHeatmapOutput("ht")
),
box(title = "Output", width = 4, solidHeader = TRUE, status = "primary",
HeatmapInfoOutput("ht")
)
)
)
ui = dashboardPage(
dashboardHeader(),
dashboardSidebar(),
body
)
server = function(input, output, session) {
makeInteractiveComplexHeatmap(input, output, session, ht, "ht")
}
shinyApp(ui, server)
}