Skip to contents

Can add title, scales and number of each logical level (TRUE, FALSE) used for coloring.

Usage

plot_colData(
  ...,
  title = "",
  scale_x = NULL,
  scale_y = NULL,
  add_logical_counts = TRUE
)

Arguments

...

Parameters passed to scater::plotColData().

title

A characater scalr: main title of plot.

scale_x, scale_y

A ggplot2 scale, e.g. ggplot2::scale_x_log10().

add_logical_counts

A logical scalar: if TRUE, add number of each logical level (TRUE, FALSE) used for coloring.

Value

A ggplot2 object.