Nothing
getAmpThr <-
function(peaks)
{
# Automatic determination of amplitude threshold for peak peaking
# based on the 5% of the most intensive peaks
# Author, L. Hedjazi, ICAN Paris, 2013
PeakCount<-nrow(peaks)
peakMaxValues <- rep(NaN,PeakCount)
for (i in 1:PeakCount)
{
peakMaxValues[i]<-peaks$maxVal[i]-peaks$basl[i]
}
### Select threshold based on 5% of the most intensive peaks
index<-floor(PeakCount*0.95)
peakSortedValuess<-sort(peakMaxValues)
ampThr<-peakSortedValuess[index]
return(ampThr)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.