This function find all peaks by taking the first derivative based on 'rle' function. Is used in different Fragma functions.
big.peaks.col(x,tre)
A vector of heights or intensities
A scalar value deciding when peaks will be ignored
Retuns the biggest peaks for a vector of intensities.
a vector of positions where the derivative is zero and therefore a peak was found
No major details.
Robert J. Henry. 2013. Molecular Markers in Plants. Wiley-Blackwell. ISBN 978-0-470-95951-0.
Ben Hui Liu. 1998. Statistical Genomics. CRC Press LLC. ISBN 0-8493-3166-8.
Covarrubias-Pazaran G (2016) Genome assisted prediction of quantitative traits using the R package sommer. PLoS ONE 11(6): doi:10.1371/journal.pone.0156744
The core function of the package mmer