mark_crosses: Mark decision zone exit events (crosses)

mark_crossesR Documentation

Mark decision zone exit events (crosses)

Description

Mark decision zone exit events (crosses)

Usage

mark_crosses(
  gg,
  cross_data,
  size = 2,
  color = "black",
  orientation = "y",
  style = "default",
  shape = 16,
  colors = c("#35b347", "#00abee")
)

Arguments

gg

ggplot2 object

cross_data

data.frame where every row captures the position of one animal at one timepoint when the animal exits the decision zone. Must contain fields t, side, region_id

size

Size of markers representing crosses

color

Color of the points, black by default


shaliulab/idocr documentation built on June 1, 2025, 4:59 p.m.