this function animates the output of tracking_algorithm.
Arguments
- tracks.file
the HDF5 file containing the tracks (character string).
- tz
the time zone to convert to (character string). Time is generally stored as numeric, and the origin is 1970-01-01 UTC.
- show.sequence
logical if to show single cells tracks (TRUE) or not (FALSE).
- map.limits
a vector defining the longitude and latitude limits of the map (xmin, xmax, ymin, ymax).
- image.size
a vector defining the dimensions of the pngs used in animation in mm (height, width).
- temp.dir
path to temporary directory where images is saved before converting to mp4. Please provide a writeable path.
- output.path
a character sting of the path to store the animation (i.e. mp4).