Description Usage Arguments Details Value
Input function for .mat
files generated by CTrax.
Creates a list object including experimental parameters and tracking data.
1 | trxread(trxfile = file.choose())
|
trxfile |
filename: defaults to browsing window |
Uses readMat
from R.matlab
to read the file.
CTrax files exist in two very different formats depending on whether they have been processed
through the fixerrors
GUI or not. This input function can read both but some data will
only be available for the latter (video info, framerate etc).
A list object containing a list of experimental details ($exp
) and a data frame
of tracking data ($trx
). exp
contains the filename and, for fixerrors
-processed
data, video filename, framerate, pixel size. trx
always contains the same format of
tracking data with the columns id
, x
, y
, a
, b
, theta
and time
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.