readTrackMateXmlTrace: read TrackMate XML traces output files

Description Usage Arguments Author(s) Examples

View source: R/readTrackMateXmlTrace.r

Description

Function to read TrackMate XML traces output files: much faster than reading the complete TRack Mate XML file

Usage

1
readTrackMateXmlTrace(XMLpath, timeRes = 1)

Arguments

XMLpath

XML file path

timeRes

time exposure per frame

Author(s)

JuG

Examples

1
2
3
4
5
6
7
8
xmlPath <- "/Users/jgodet/Seafile/MaBibliotheque/Code/TrackMate/nmeth.2808-sv1Trace.xml"
data <- readTrackMateXmlTrace(XMLpath = xmlPath)

data$jump<-jump(data, spaceRes=1)
hist(data$jump, breaks=150)
fitJumpDistHist(data=data, breaks = 150)
msdMat <- calcMSD(data, N=2)
plotMSD(msdMat, col='blue')

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