Description Usage Arguments Value Examples
compare folders with Diatrack output files. merge track files in each folder into one item of a track list. This list can then be fed into other functions for comparison. It keeps folder information as names of the resulting list.
1 | compareFolder(folders,input=1,ab.track=FALSE,cores=1)
|
folders |
a vector storing paths to the folders location.'...' indicates multiple (unlimited) folders can be added into the function. |
input |
Input file type (Diatrack .txt file = 1; Diatrack .mat session file = 2; ImageJ .csv file = 3; SlimFast .txt file = 4). |
ab.track |
a Logical indicating if absolute coordinates should be used. |
cores |
Number of cores used for parallel computation. This can be the cores on a workstation, or on a cluster. |
trackll A list of tracks, each item of a track list correspond to a folder. This list can then be fed into other functions for comparison.
1 2 3 4 | folder1=system.file('extdata','SWR1',package='sojourner')
folder2=system.file('extdata','HTZ1',package='sojourner')
trackll=compareFolder(folders=c(folder1,folder2), input=3)
str(trackll,max.level=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.