Package mdftracks. February 6, 2017

Similar documents
Package datasets.load

Package fastdummies. January 8, 2018

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package repec. August 31, 2018

Package jstree. October 24, 2017

Package clipr. June 23, 2018

Package ECctmc. May 1, 2018

Package messaging. May 27, 2018

Package sfc. August 29, 2016

Package strat. November 23, 2016

Package tidyimpute. March 5, 2018

Package kirby21.base

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package gtrendsr. October 19, 2017

Package raker. October 10, 2017

Package splithalf. March 17, 2018

Package validara. October 19, 2017

Package projector. February 27, 2018

Package gtrendsr. August 4, 2018

Package knitrprogressbar

Package postgistools

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package spark. July 21, 2017

Package dbx. July 5, 2018

Package bisect. April 16, 2018

Package comparedf. February 11, 2019

Package robotstxt. November 12, 2017

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package reval. May 26, 2015

Package qualmap. R topics documented: September 12, Type Package

Package calpassapi. August 25, 2018

Package available. November 17, 2017

Package rsppfp. November 20, 2018

Package canvasxpress

Package QCAtools. January 3, 2017

Package nngeo. September 29, 2018

Package ClusterBootstrap

Package editdata. October 7, 2017

Package IATScore. January 10, 2018

Package wrswor. R topics documented: February 2, Type Package

Package textstem. R topics documented:

Package librarian. R topics documented:

Package deductive. June 2, 2017

Package barcoder. October 26, 2018

Package waver. January 29, 2018

Package githubinstall

Package docxtools. July 6, 2018

Package SEMrushR. November 3, 2018

Package NFP. November 21, 2016

Package crossword.r. January 19, 2018

Package CatEncoders. March 8, 2017

Package ecoseries. R topics documented: September 27, 2017

Package vinereg. August 10, 2018

Package GetITRData. October 22, 2017

Package condusco. November 8, 2017

Package glcm. August 29, 2016

Package regexselect. R topics documented: September 22, Version Date Title Regular Expressions in 'shiny' Select Lists

Package edfreader. R topics documented: May 21, 2017

Package sessioninfo. June 21, 2017

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package profvis. R topics documented:

Package opencage. January 16, 2018

Package resumer. R topics documented: August 29, 2016

Package internetarchive

Package humanize. R topics documented: April 4, Version Title Create Values for Human Consumption

Package ompr. November 18, 2017

Package crochet. January 8, 2018

Package loggit. April 9, 2018

Package modmarg. R topics documented:

Package CuCubes. December 9, 2016

Package SNPediaR. April 9, 2019

Package oec. R topics documented: May 11, Type Package

Package spelling. December 18, 2017

Package grec. R topics documented: August 13, Type Package

Package SFtools. June 28, 2017

Package semver. January 6, 2017

Package benchmarkme. R topics documented: February 26, Type Package Title Crowd Sourced System Benchmarks Version 0.2.

Package rprojroot. January 3, Title Finding Files in Project Subdirectories Version 1.3-2

Package heims. January 25, 2018

Package fst. December 18, 2017

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package lumberjack. R topics documented: July 20, 2018

Package testit. R topics documented: June 14, 2018

Package utilsipea. November 13, 2017

Package wikitaxa. December 21, 2017

Package io. January 15, 2018

Package estprod. May 2, 2018

Package curry. September 28, 2016

Package rgho. R topics documented: January 18, 2017

Package aws.transcribe

Package geogrid. August 19, 2018

Package UNF. June 13, 2017

Package preprosim. July 26, 2016

Package nonlinearicp

Package RODBCext. July 31, 2017

Package farver. November 20, 2018

Package TrajDataMining

Package panelaggregation

Package pdfsearch. July 10, 2018

Transcription:

Type Package Title Read and Write 'MTrackJ Data Files' Version 0.2.0 Package mdftracks February 6, 2017 'MTrackJ' is an 'ImageJ' plugin for motion tracking and analysis (see <https://imagescience.org/meijering/software/mtrackj/>). This package reads and writes 'MTrackJ Data Files' ('.mdf', see <https://imagescience.org/meijering/software/mtrackj/format/>). It supports 2D data and read/writes cluster, point, and channel information. If desired, generates track identifiers that are unique over the clusters. See the project page for more information and examples. License GPL-3 file LICENSE LazyData TRUE Depends R (>= 2.10) Imports hellno URL https://github.com/burgerga/mdftracks BugReports https://github.com/burgerga/mdftracks/issues RoxygenNote 6.0.0 Suggests testthat, tools NeedsCompilation no Author Gerhard Burger [aut, cre] Maintainer Gerhard Burger <burger.ga@gmail.com> Repository CRAN Date/Publication 2017-02-06 14:33:22 R topics documented: mdftracks.......................................... 2 mdftracks.example.data................................... 2 read.mdf........................................... 3 write.mdf.......................................... 4 Index 6 1

2 mdftracks.example.data mdftracks mdftracks: Read and Write MTrackJ Data Files Reads and writes MTrackJ Data Files (.mdf). Supports clusters, 2D data, and channel information. If desired, generates unique track identifiers based on cluster and id data from the.mdf file. See Also MTrackJ Data Format mdftracks.example.data Example data to show mdftracks functionality Example data to show mdftracks functionality Usage mdftracks.example.data Format A data frame with 10 rows and 9 variables cl track cluster id track identifier (in cluster) p point in track (not necessarily the same as frame number) x x-coordinate of point y y-coordinate of point z z-coordinate of point t time of point ch track channel uid track identifier (unique over clusters) Source Self-generated

read.mdf 3 read.mdf Read an MTrackJ Data File (.mdf) Reads an MTrackJ Data File (.mdf) file in a data.frame. Usage read.mdf(file, drop.z = F, include.point.numbers = FALSE, include.channel = F, generate.unique.ids = F, text, fileencoding = "") Arguments file drop.z MTrackJ Data File (.mdf) file with tracking data. drop z-coordinate (for 2D data) include.point.numbers include the point numbers in the mdf file (NB these can be different from the time/frame points) include.channel include channel information generate.unique.ids combine cluster and id columns to get unique ids text fileencoding character string: if file is not supplied and this is, then data are read from the value of text via a text connection. Notice that a literal string can be used to include (small) data sets within R code. character string: if non-empty declares the encoding to be used on a file (not a connection) so the character data can be re-encoded as they are written. See base::file(). See Also MTrackJ Data Format Other mdftracks functions: write.mdf Examples read.mdf(system.file("extdata", "example.mdf", package = 'mdftracks'))

4 write.mdf write.mdf Write an MTrackJ Data File (.mdf) Writes a data.frame with tracking information as an MTrackJ Data File (.mdf) file. Allows flexible column specification, and to avoid errors the column mapping used for writing is reported back to the user. Writing tracking data in id time x y z format, for example, from the MotilityLab package, doesn t require additional arguments. Usage write.mdf(x, file = "", cluster.column = NA, id.column = 1, time.column = 2, scale.time = 1, pos.columns = c(3, 4, 5), channel.column = NA, point.column = NA, default.channel = 1, fileencoding = "") Arguments x file the data.frame with track information. either a character string naming a file or a connection open for writing. "" indicates output to the console. cluster.column index or name of the column that contains the cluster ID. id.column time.column scale.time pos.columns index or name of the column that contains the track ID (either the id in the cluster or a unique id). index or name of the column that contains elapsed time a value by which to multiply each time point. Useful for changing units, or specifying the time between positions if the time is given in frames. vector containing indices or names of the columns that contain the spatial coordinates. If this vector has two entries, the data is assumed to be 2D and the z coordinate is set to 1.0. channel.column index or name of the column that contains channel information. If there is no channel column default.channel will be used. point.column index or name of the column that contains point ID. If there is no point column, points will be numbered automatically (NB points are not necessarily the same as frames). default.channel channel to be used if channel.column is not specified. fileencoding character string: if non-empty declares the encoding to be used on a file (not a connection) so the character data can be re-encoded as they are written. See base::file().

write.mdf 5 See Also MTrackJ Data Format Other mdftracks functions: read.mdf Examples ## Not run: # Output to file write.mdf(mdftracks.example.data, '~/example.mdf', id.column = 'uid', time.column = 't', pos.columns = letters[24:26]) ## End(Not run) # Output to stdout with cluster column write.mdf(mdftracks.example.data, cluster.column = 'cl', id.column = 'id', time.column = 't', pos.columns = letters[24:26]) # Output to stdout using data in (id, t, x, y, z) format write.mdf(mdftracks.example.data[, c('uid', 't', letters[24:26])])

Index Topic datasets mdftracks.example.data, 2 base::file(), 3, 4 mdftracks, 2 mdftracks-package (mdftracks), 2 mdftracks.example.data, 2 read.mdf, 3, 5 write.mdf, 3, 4 6