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


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