AddScale: AddScale

View source: R/5_plotFunctions.R

AddScaleR Documentation

AddScale

Description

AddScale

Usage

AddScale(
  p,
  values = NULL,
  colors = NULL,
  limits = NULL,
  showLegend = TRUE,
  labelLegend = "",
  type = "fill"
)

Arguments

p

ggplot object

values

Values used for the fill

colors

Colors to use (can be a vector or a function)

limits

Limits to use in the scale

showLegend

Boolean on whether to show the legend

labelLegend

Label to show as title of the legend

type

fill (default) or color

Value

ggplot object with scale added


SofieVG/FlowSOM documentation built on Feb. 1, 2024, 11:33 a.m.