combineTrackll-methods: combineTrackll

Description Usage Arguments Details Value Examples

Description

Combine multiple tracklls into one trackll.

Usage

1
combineTrackll(total=2,merged=T)

Arguments

total

The number of tracklls to combine.

merged

An Logical indicate if the tracklls to combine are merged or not.

Details

Combine multiple track listw (tracklls) from multiple folders into one trackll, i.e. combining track infomation from files in multiple folders (replicates) together as if they are in one folder. The tracklls either merged or un-merged.

Users will be prompted to input the name of each trackll to combine. If the combined tracklls are merged, users will also be prompted to input a combined attribute name for the combined trackll.

Value

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Generate trackll, and process,
# e.g. mask region of interest, merge tracks from multiple files.
folder1=system.file("extdata","SWR1",package="smt")
trackll1=createTrackll(interact=F,folder,input=1)
trackll1=maskTracks(folder,trackll)
trackll1=mergeTracks(folder,trackll)

folder2=system.file("extdata","SWR1_2",package="smt")
trackll2=createTrackll(interact=F,folder,input=1)
trackll2=maskTracks(folder,trackll)
trackll2=mergeTracks(folder,trackll)

# Combine the tracklls together, input trackll names when prompted,
trackll=combineTrackll(total=2,merged=T)

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