Function to convert bout-level annotations to instance-level labels

Share:

Description

Converts bout-level annotations to instance-level labels.

Usage

1

Arguments

annotations

Path to file containing bout-level annotations, or directory of files containing bout-level annotations. Should be csv format with fields: identifier, StartDateTime, EndDateTime, behavior.

winSize

Window size in seconds.

names

(Optional) If provided, extract annotations only for identifiers in this list.

Value

Path to directory where instance-level label files are saved.

Author(s)

Katherine Ellis

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.