Description Usage Arguments Author(s) Examples
View source: R/fitJumpDistHist.r
Fit jump distribution histogram
1 2 3 4 5 6 7 8 9 10 11 12 |
data |
dataframe with jump |
nbPop |
number of populations of diffusing species (1 or 2) |
initHist |
initialisation parameters for the nls fit for exmaple list(D2 = 200, D1=0.1) or list(D2 = .01, D1=.1, D3=10, D4=100) |
timeRes |
time resolution per unit of jump |
breaks |
binning of the histogram (number of breaks) |
JuG
1 2 3 4 5 6 7 8 9 10 | xmlPath <- "/Users/jgodet/Seafile/MaBibliotheque/Code/TrackMate/nmeth.2808-sv1.xml"
data <- readTrackMateXML(XMLpath = xmlPath)
data$jump<-jump(data, spaceRes=1)
fitJumpDistHist(data=data, nbPop = 1, initHist = list(D2 = 200, D1=0.1))
fitJumpDistHist(data=data, xlim=c(0,10), col=rgb(.2,.2,.2,.2), main="test")
# Results are affected by the histogram binning
fitJumpDistHist(data=data, breaks = 30)
fitJumpDistHist(data=data, breaks = 150)
fitJumpDistHist(data=data, nbPop=3)
fitJumpDistHist(data=data, nbPop=2, initHist = list(D2 = .01, D1=.1, D3=10, D4=100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.