plot_quadrants: Plot quadrants

View source: R/plot_quadrants.R

plot_quadrantsR Documentation

Plot quadrants

Description

Plot quadrants

Usage

plot_quadrants(
  plotData,
  x,
  y,
  color,
  wrap = NULL,
  trans = "log1p",
  breaks = c(0, 1, 2, 3, 5, 10, 25, 50, 100, 200, 500, 1000),
  threshold_x = 0.5,
  threshold_y = 0.5,
  point_size = 0.25,
  point_alpha = 0.5,
  text_pos_lower = log1p(-0.25),
  jitter = position_jitter(width = 0.18, height = 0.18, seed = 124),
  rasterise = FALSE,
  rasterise_dev = "cairo",
  rasterise_dpi = 300,
  rasterise_scale = 1
)

Arguments

plotData

data frame containing data to be plotted

x

column name for x data

y

column name for y data

color

column name for colouring

wrap

column name for wrapping plot

trans

transformation function for x and y scales (log1p default)

breaks

breaks for x and y scales

threshold_x

x gating threshold

threshold_y

y gating threshold

point_size

Size of individual points

point_alpha

Alpha level of each point

text_pos_lower

text position

jitter

jitter function for geom_points

rasterise

Should points be rasterised (ggrastr)?

rasterise_dev

What device should be used for rasterisation?

rasterise_dpi

What DPI should be used for rasterisation?

rasterise_scale

What scale should be used for rasterisation?

Value

ggplot


Terkild/scutility documentation built on Jan. 16, 2025, 5:28 p.m.