compareFolder-methods: compareFolder

Description Usage Arguments Value Examples

Description

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.

Usage

1
compareFolder(folders,input=1,ab.track=FALSE,cores=1)

Arguments

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.

Value

Examples

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)

sheng-liu/sojourner documentation built on April 2, 2021, 2:30 a.m.