mark_time: Mark time with a custom frequency

View source: R/plot.R

mark_timeR Documentation

Mark time with a custom frequency

Description

Place the ticks on the time axis with an intuitive frequency

Usage

mark_time(data, gg, freq = 60, downward = TRUE, orientation = "y")

Arguments

data

List with entries roi, controller, border, limits. roi and controller must be data.tables generated by loading IDOC data. Border is a TODO. Limits is a numeric vector with 2 positions, delineating the boundaries of the x axis

gg

ggplot2 object

freq

Number of seconds in between axis ticks, 60 by default

downward

Whether the 0 should be at the top (TRUE) or the bottom (FALSE) of the plot

Value

ggplot2 object


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