run_colorexplorer: Run the colorexplorer shiny app

View source: R/run_colorexplorer.R

run_colorexplorerR Documentation

Run the colorexplorer shiny app

Description

Run the colorexplorer shiny app

Usage

run_colorexplorer(plotobj = NULL)

Arguments

plotobj

You can pass a ggplot object to be used in the shiny app. It should have at least either a color or fill aesthetic for this to make sense (otherwise, you won't be able to change any of the colors interactively). #' @return Called for its side effects.

Note

The app requires the following additional packages:

Make sure they are installed or the app won't work.

Examples

## Not run: 
library(ggplot2)

g <- ggplot(mpg, aes(class, fill=class)) + geom_bar()
run_colorexplorer(g)

## End(Not run)

certara/ggcertara documentation built on Feb. 28, 2024, 5:01 a.m.