AddScale {FlowSOM} | R 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

[Package FlowSOM version 2.2.0 Index]