Plot individual tracks one by one, with grid layout. Tracks are sorted by their lengths.
plotIndividualTracks(trackll=trackll,grid.size=c(1000,1000), resolution=0.107,t.interval=0.5)
trackll | trajectory list generated by createTrackll() and processing. |
---|---|
grid.size | The size of each plot grid in nanometers. Default 1000 nm for x and y axis, respectively. |
resolution | ratio of pixel to uM. |
t.interval | Time interval for image aquisition. Default 0.5 sec (500ms). |
PDF: One PDF file with 120 tracks on each page.
Plot individual track/trajectory one by one, and the tracks will be layout in 15X8 grids.
# Generate trackll, and process, # e.g. mask region of interest, tracks from multiple files should not be # merged. folder=system.file('extdata','HSF',package='sojourner') trackll=createTrackll(folder=folder, input=3)#> #> Reading ParticleTracker file: HSF-Halo_1.csv ... #> #> alo_1 read and processed. #> #> Reading ParticleTracker file: HSF-Halo_2.csv ... #> #> alo_2 read and processed. #> #> Process complete.#> applying filter, min 7 max Inf#> Reading mask file HSF-Halo_1_MASK.tif #> Reading mask file HSF-Halo_2_MASK.tif #> #> All files masked.#> #> Merging of folder HSF complete.# Plot individual tracks, plotIndividualTracks(trackll,grid.size=c(1000,1000),resolution=0.107, t.interval=0.5)#> The plot has been saved as a PDF in the working directory.