AddBackground: AddBackground

View source: R/5_plotFunctions.R

AddBackgroundR Documentation

AddBackground

Description

Function plots the background

Usage

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

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.

alpha

Transparency of the backgroundColor.

Value

Returns nothing, but plots the background

See Also

PlotFlowSOM, AddLabels, AddNodes, AddPies, AddStars


saeyslab/FlowSOM documentation built on July 6, 2024, 10:59 a.m.