Learn R Programming

TLBC (version 1.0)

extractLabelsDir: Extract labels from a directory

Description

Function to extract labels from a directory containing annotation files.

Usage

extractLabelsDir(inputDir, outputDir, winSize, names=NULL)

Arguments

inputDir
Path to a directory of files containing bout-level annotations. Should be csv format with fields: identifier, StartDateTime, EndDateTime, behavior.
outputDir
Path to a directory to save labels.
winSize
Window size in seconds.
names
(Optional) If provided, extract labels only for identifiers in this list.

See Also

annotationsToLabels, extractLabelsSingleFile