animint2 (version 2025.1.28)

addSSandCSasAesthetics: Add the showSelected/clickSelects params to the aesthetics mapping

Description

Add the showSelected/clickSelects params to the aesthetics mapping

Usage

addSSandCSasAesthetics(aesthetics, extra_params)

Value

Modified aesthetics list with showSelected/clickSelects params added

Arguments

aesthetics

list. Original aesthetics mapping of the layer

extra_params

named list containing the details of showSelected and clickSelects values of the layer

Details

Used before calling ggplot_build in parsePlot and while checking animint extensions to raise error