displacementCDF-methods: displacementCDF

Description Usage Arguments Details Value Examples

Description

calculate cumulative distribution function of all displacement for individual trajectories.

Usage

1
displacementCDF(trackll,dt=6,resolution=0.107,plot=F,output=F)

Arguments

dt

Time intervals.

resolution

ratio of pixel to µM.

trackll

Track list output from readDiatrack().

plot

An logical indicate if plot should be generated. See Values for detail.

output

An logical indicate if output should be generated. See Values for detail.

Details

The cumulative radial distribution function, P(r, i△t), is the probability of finding the diffusing particle within a radius r from the origin at time lag i△t:

P(r,iΔt) = 1− e^(-r^2/4*D*(iΔt))

the CDF and UniqueDisplacement in the output file is corresponding to P and r in this formula. If intend to generate the CDF plot from the output file, the CDF and UniqueDisplacement is corresponding to the y and x values in the CDF output plot.

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))
displacementCDF(trackll,dt=1,plot=T)

sheng-liu/smt documentation built on May 29, 2019, 9:22 p.m.