Description
Hi. I don't know if this is now the proper place to post suggestions but here it goes.
As have been noted previously (http://metabolomics-forum.com/viewtopic.php?f=25&t=148) the peak range for the initially picked peaks can be too narrow to allow proper re-integration for all samples.
I suggest that a parameter to expand peakrange in getPeaks is added to fillPeaks.chrom and passed on to fillPeaksChromPar.
I don't know the what the most appropriate way to pass the parameter would be so hence no pull request.
I suggest the multiplier is used like this:
you set M=0.1 if you want to increase the peakrange interval by 10%
the peakrange to use in getPeaks then becomes:
mzmax_new = mzmax + ((mzmax-mzmin)_M)/2
mzmin_new = mzmin - ((mzmax-mzmin)_M)/2