read.mdf {mdftracks} | R Documentation |
Read an MTrackJ Data File (.mdf
)
Description
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 |
MTrackJ Data File ( |
drop.Z |
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 |
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. |
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 |
See Also
Other mdftracks functions:
write.mdf()
Examples
read.mdf(system.file("extdata", "example.mdf", package = 'mdftracks'))
[Package mdftracks version 0.2.2 Index]