Description Usage Arguments Details Value Author(s)
Add ggplot instructions to create brushes and lassos for both saved and active mutliple selections in a DotPlot panel.
1 | .addMultiSelectionPlotCommands(x, envir, commands, flip = FALSE)
|
x |
An instance of a DotPlot class. |
envir |
The environment in which the ggplot commands are to be evaluated. |
commands |
A character vector representing the sequence of commands to create the ggplot object. |
flip |
A logical scalar indicating whether the x- and y-axes are flipped, only relevant to horizontal violin plots. |
This is a utility function that is intended for use in .generateDotPlot.
It will modify envir by adding all_active and all_saved variables,
so developers should not use these names for their own variables in envir.
If no self-selection structures exist in x, commands is returned directly without modification.
A character vector containing commands plus any additional commands required to draw the self selections.
Aaron Lun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.