pipeline: Analyse plot and export dataset

View source: R/idocr.R

pipelineR Documentation

Analyse plot and export dataset

Description

Take an IDOC dataset

Usage

pipeline(
  experiment_folder,
  dataset,
  min_exits_required,
  mask_duration,
  analysis_mask = NULL,
  ...
)

Arguments

experiment_folder

Path to folder containing IDOC results .csv files

dataset

List of raw data including:

  • roi: every row records the position of one animal at one point in time

  • controller: every row records the status of all IDOC stimulus at one point in time

  • limits

  • border

min_exits_required

Minimal number of exits to be considered for significance

mask_duration

Exits happening this amount of seconds after the last one are ignored

analysis_mask

Numeric vector of length 2 containing start and end timepoint of mask in seconds since the start of the experiment Every behavior outside of the mask is ignored

...

Extra arguments to plot_dataset

Details

A corssing dataset where every record represents a decision zone exit of one animal is required to show the exits in the plot

Value

ggplot2 object

See Also

annotate_cross()


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