## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.dpi = 300
)

## ----eval=FALSE---------------------------------------------------------------
# eye <- eye |>
#   epoch(
#     events = "PROBE_START_{trial}",
#     limits = c(0, 1),
#     label = "probeEpochs",
#     calc_baseline = TRUE,
#     apply_baseline = TRUE,
#     baseline_type = "sub",
#     baseline_events = "DELAY_STOP_*",
#     baseline_period = c(-1, 0)
#   )

## ----eval=FALSE---------------------------------------------------------------
# bidsify(
#   eyeris = eye_1c,
#   bids_dir = tempdir(), # Replace with preferred path, like "~/Documents/eyeris"
#   participant_id = "001",
#   session_num = "01",
#   task_name = "assocmem",
#   run_num = "01",
#   save_raw = TRUE, # Also save raw timeseries
#   html_report = TRUE, # Generate an interactive preproc summary report document
#   report_seed = 0 # Make randomly selected plot epochs reproducible across runs
# )

## ----echo=FALSE, out.width='75%'----------------------------------------------
knitr::include_graphics("../man/figures/report_example_annotated-1.png")

## ----echo=FALSE, out.width='100%'---------------------------------------------
knitr::include_graphics("../man/figures/interactive-reports-demo.gif")

## -----------------------------------------------------------------------------
citation("eyeris")

