runExample {annotator}R Documentation

Run Shiny Examples

Description

Launch Shiny example applications bundled in annotator.

Usage

runExample(example, ...)

Arguments

example

The name of the example to run. Available are: ⁠01_hello⁠, ⁠02_pipeline⁠

...

further arguments to pass to shiny::runApp()

Value

No return value, called for its side effects.

Examples

## Only run this example in interactive R sessions
if (interactive()) {
 annotator::runExample("01_hello")
 annotator::runExample("02_pipeline")

 # Print the directory containing the code for all examples
 system.file("examples", package = "annotator")
}

[Package annotator version 0.0.3.1 Index]