View source: R/5_plotFunctions.R
AddBackground | R Documentation |
Function plots the background
AddBackground(
p,
backgroundValues,
backgroundColors = NULL,
backgroundLim = NULL,
alpha = 0.4
)
p |
ggplot object |
backgroundValues |
Vector of values to be plotted as background for the nodes |
backgroundColors |
Color palette to be used for the background coloring. Can be either a function or an array specifying colors. |
backgroundLim |
Background limits (can be used to ensure consistent Color palette between plots). If NULL (default), will be automatically adapted to the data. |
alpha |
Transparency of the backgroundColor. |
Returns nothing, but plots the background
PlotFlowSOM
, AddLabels
,
AddNodes
, AddPies
, AddStars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.