AddBackground: AddBackground

View source: R/5_plotFunctions.R

AddBackgroundR Documentation

AddBackground

Description

Function plots the background

Usage

AddBackground(
  p,
  backgroundValues,
  backgroundColors = NULL,
  backgroundLim = NULL
)

Arguments

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.

Value

Returns nothing, but plots the background

See Also

PlotFlowSOM, AddLabels, AddNodes, AddPies, AddStars


saeyslab/FlowSOM documentation built on April 20, 2024, 8:30 p.m.