beh_merge_all_tidy: beh_merge_all_tidy function combines functions beh_mat,...

View source: R/beh_merge_all_tidy.R

beh_merge_all_tidyR Documentation

beh_merge_all_tidy function combines functions beh_mat, y_mat, and dir_mat to make a merged behavioral state object incorporating direction, position and state information about each worm from Matlab tracking. Requires beh_mat, y_mat, and dir_mat to be defined by installing MF.matR package. also required reshape2, tcl/tk and dplyr packages installed

Description

beh_merge_all_tidy function combines functions beh_mat, y_mat, and dir_mat to make a merged behavioral state object incorporating direction, position and state information about each worm from Matlab tracking. Requires beh_mat, y_mat, and dir_mat to be defined by installing MF.matR package. also required reshape2, tcl/tk and dplyr packages installed

Usage

beh_merge_all_tidy(interactive = FALSE)

Arguments

bins

number of time frames to bin. generally 400 for 20 minute video is standard

Examples

tot.mat<-beh_merge_all_tidy(400)
beh_merge_all_tidy()

mikeod38/MF.matR documentation built on Feb. 3, 2023, 6:23 p.m.