Description Usage Arguments Details Examples
take in a Diatrack .mat session file as input, along with several other user-configurable parameters and output options, to return a track list of all the trajectories found in the session file
1 2 3 | readDiaSessions(folder, ab.track = F, cores = 1, frameRecord = T)
.readDiaSessions(file, interact = F, ab.track = F, frameRecord = F)
|
file |
Full path to Diatrack .mat session file. |
interact |
Open menu to interactively choose file. |
ab.track |
Use absolute coordinates for tracks. |
frameRecord |
Add a fourth column to the track list after the xyz-coordinates for the frame that coordinate point was found (especially helpful when linking frames). |
folder |
Full path to Diatrack .mat session files output folder. |
cores |
Number of cores used for parallel computation. This can be the cores on a workstation, or on a cluster. Tip: each core will be assigned to read in a file when paralleled. |
The naming scheme for each track is as follows:
[Last five characters of the file name].[Start frame #].[Length].[Track #]
(Note: The last five characters of the file name, excluding the extension, cannot contain ".")
(Note: readDiaSessions supports reading in intensity values)
1 2 3 4 5 6 | #Basic function call of .readDiaSessions
hsf_folder=system.file("extdata", "HSF", package="sojourner")
trackll <- readDiaSessions(folder=hsf_folder, cores = 2)
#Basic function call of .readDiaSessions
#trackl <- .readDiaSessions(interact = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.