calcMSD: Calculate Mean Square Distance

Description Usage Arguments Author(s) Examples

View source: R/calcMSD.r

Description

Calculate Mean Square Distance

Usage

1

Arguments

data

data frame (including trace, x, y and t)

N

for MSD, dt should be up to 1/N of number of data points (4 recommended)

Author(s)

JuG

Examples

1
2
3
4
5
6
xmlPath <- "//Users/jgodet/Seafile/MaBibliotheque/Hanna/1_3_MMStack_Pos0.ome.xml"
xmlPath <- "/Users/jgodet/Seafile/MaBibliotheque/Code/TrackMate/nmeth.2808-sv1.xml"
data <- readTrackMateXML(XMLpath = xmlPath)
data$jump<-jump(data, spaceRes=1)
msdMat <- calcMSD(data, N=3)
plotMSD(msdMat, col='blue')

jgodet/trackR documentation built on May 24, 2020, 2:21 p.m.