Launch an example to demonstrate how to use NGLvieweR
in Shiny.
NGLVieweR_example(example = "basic")
Example type for which to see an example, possible values are: "basic", "API", "addSelection", "removeSelection", "snapshot", "updateAnimation", "updateColor", "updateFocus", "updateFullscreen", "updateRepresentation", "updateSelection", "updateStage", "updateVisibility" and "updateZoomMove".
Call to load Shiny example.
if (interactive()) {
# Basic example
NGLVieweR_example("basic")
# Example with API calls
NGLVieweR_example("API")
# Function specific example
NGLVieweR_example("addSelection")
}