Skip to content

MoveR release v0.3.0

Choose a tag to compare

@qpetitjean qpetitjean released this 02 Feb 15:55
· 9 commits to Main since this release
  • Make ‘identity’ the default value for the [by] argument in the
    convert2Tracklets() function.
  • Make ‘frame’ the default value for the [timeCol] argument in the
    ANND(), resampTracklets(), sinuosity(), speed(),
    temporalBoot(), temporalTrend(), turnAngle() functions.
  • speed() function now accept [frameR] (frame rate) and [timeU]
    (time unit) arguments allowing to return speed values according to the
    desired unit (e.g., pixels per frame, pixels per second).
  • Make “1” the default value for the [sampling] argument in the
    ANND() function.
  • Change the default value of the [flipY] argument in the
    readIdTracker() functions from TRUE to FALSE as for other “read”
    functions
  • Add “AnimalTA” to an error message returned by the DLsampleData()
    function when the [tracker] argument is misspelled.
  • Add the possibility of retrieving the path to several tracking outputs
    at the same time using DLsampleData().
  • Solve an error when both [selTrack] and [timeWin] arguments were
    specified in drawTracklet() with several time windows, drawing only
    the specified tracklets on the first time window.
  • Processing time of drawTracklet() has also been speed up.
  • The “read” functions aiming to import tracking data from various
    tracking software now return an object of class (S3) “tracklets”,
    corresponding to a list of tracklets, meaning that converting the
    output of “read” functions to a list of tracklets (using
    convert2Tracklets()) before further processing is no longer needed.
  • Add setInfo() and getInfo() functions to the utilities to specify
    and retrieve useful information such as frame rate (frameR), scale
    (scale) and image resolution (imgRes) to the tracklets object,
    allowing to avoid unnecessary repetition of code over several
    functions.
  • Add the possibility to subset “varList” and “tracklets” objects using
    [], also allow to use as.data.frame() on varList object to convert
    it to a data frame.
  • convert2List() now returns an object of class “varList” which is
    still a list of variables and conserve the additional information
    appended to the converted tracklets object, meaning that additional
    information are conserved over conversion from tracklets to varList
    and back to tracklets.
  • trackstats() is now deprecated (but still can be used) and is
    replaced by summary() according to the use of S3 methods for
    tracklets class objects when importing tracking data.
  • Add the possibility to compute the distance between particles
    trajectory and a polygon edges using dist2Edge() by setting
    customFunc = “PolygonArena”.
  • cutTracklets() and sortVertices() functions are now considered as
    an internal function and cannot be used anymore (prefer using
    filterTracklets).
  • Reduce code redundancy by creating an internal function to return
    error messages .errorCheck.