read.dlc: This is modified function of fread from data.table package by...

Description Usage Arguments Value

View source: R/read.dlc.r

Description

This is modified function of fread from data.table package by adjusting to the format of DeepLabCut files

Usage

1
read.dlc(fileName, direc = NULL, fps = NULL, spline = TRUE, threshold = 0.9)

Arguments

[direc]

optional: directory of csv files

[fps]

optional: camera fps

[spline]

if TRUE , drop frames of low likelihood frames and interpolate with smooth spline function. Since peformance of extrapolation is serverely bad, initial and last dropped frames would be NA. Default is TRUE.

[threshold]

threshold for dropping frames if spine = TRUE. Default is .9

Value

data frame of trajectories


HeathRossie/dlcpr documentation built on Oct. 27, 2020, 3:20 p.m.