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.

Usage

1
compareFolder(folders=c(folder1,folder2,...),input=1,ab.track=F,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="smt")
folder2=system.file("extdata","HTZ1",package="smt")
trackll=compareFolder(c(folder1,folder2))
str(trackll,max.level=1)

snjy9182/smt documentation built on May 24, 2019, 7:19 a.m.