mergeTracks-methods: mergeTracks

Description Usage Arguments Details Value Examples

Description

merge track lists in a list into one

Usage

1
mergeTracks(folder, trackll)

Arguments

folder

Full path to the output files.

trackll

A list of track lists.

Details

IMPORTANT: Once a trackll has been merged, it cannot be masked using maskTracks().

Merging creates the following data structure: (1) first level is the folder name, (2) second level is a list of data.frames/tracks from all output files merged into one.

If not merged, track lists takes the name of individual files in the folder. If merged, the single merged track list takes the folder name.

Value

modified trackll

Examples

1
2
3
4
#Basic masking with folder path with image masks
folder = system.file('extdata', 'SWR1', package = 'sojourner')
trackll=createTrackll(folder=folder, input=3)
trackll.merged <- mergeTracks(folder = folder, trackll = trackll)

snjy9182/smt-beta documentation built on April 4, 2021, 6:26 a.m.