Skip to contents

Standard raw-point layer for PaperPlotR comparison plots

Usage

layer_points_paper(
  mapping = NULL,
  data = NULL,
  paired = FALSE,
  id = NULL,
  position = position_paper_jitter(),
  alpha = 0.8,
  size = 1.9,
  stroke = 0.25,
  point_shape = 21,
  point_colour = "#1F1F1F",
  line_colour = "#8C8C8C",
  line_width = 0.3,
  ...
)

Arguments

mapping

Aesthetic mapping.

data

Optional data frame.

paired

Whether points should be connected by sample id.

id

Optional sample id column used when paired = TRUE.

position

Position adjustment for points.

alpha

Point alpha.

size

Point size.

stroke

Point stroke width.

point_shape

Point shape.

point_colour

Outline colour for points.

line_colour

Colour for paired connecting lines.

line_width

Line width for paired connecting lines.

...

Additional arguments passed to ggplot2::geom_point().

Value

A ggplot layer or list of layers.