panel_configuration | R Documentation |
Creates a new panel configuration object that combines pane layout information with individual pane configurations.
panel_configuration(panes_list, pane_types)
panes_list |
A list containing pane objects and sizes information.
See |
pane_types |
A named list mapping pane IDs to their configurations. Each element must be a detailMap, summaryMap, or pluginPane object. |
A new panel_configuration
object
panel_configuration for class details
pane for creating pane objects
detailMap for detail map configuration
summaryMap for summary map configuration
# Create a three-pane layout with a detail map, a summary map, and a plugin pane:
pane1 <- pane(id = "pane1")
pane2 <- pane(id = "pane2")
pane3 <- pane(id = "pane3")
panes_list <- list(pane1, list(pane2, pane3, sizes = c(30, 70)), sizes = c(100))
# Create pane configuration for each pane
pane_types <- list(
pane1 = detailMap(id = "pane1"),
pane2 = summaryMap(id = "pane2"),
pane3 = pluginPane(id = "pane3", pluginName = "2D ScatterPlot: UMAP (column)")
)
# Create panel configuration
config <- panel_configuration(panes_list, pane_types)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.