plotLocalizations.Dense-methods: plotLocalizations.Dense

Description Usage Arguments Details Value Examples

Description

Plot localization map of molecules from a list of files in a folder with color coded by local density of each molecule.

Usage

1
plotLocalizations.Dense(scale=256,r=125,file.No=0,point.scale=0.15)

Arguments

scale

The pixel scale of image data.

r

Radius within each molecule to calculate density.

file.No

Select file(s) in the folder to plot. Default 0 for plotting all files in the folder.

point.scale

Size of the dots representing the molecules.

Details

Plot localization map of molecules from a list of files in a folder with color coded by local density of each molecule. The localization of molecule is considered as the first position of its track.

Upon running of the function, users will be prompted to input the name of the track list (trackll). Input un-merged trackll and the plotting will start. The local density of each molecule is calculated by counting the number of molecules within a given radius around the position of the molecule. The higher the number, the higher the local density.

Value

Examples

1
2
3
4
5
6
7
8
# Generate trackll, and process,
# e.g. mask region of interest, tracks from multiple files should not be merged.
folder=system.file("extdata","SWR1",package="smt")
trackll=createTrackll(interact=F,folder,input=1)
trackll=maskTracks(folder,trackll)

# Plot localization map,
plotLocalizations.Dense(scale=256,r=125,file.No=0,point.scale=0.15)

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