Peak search by first derivatives

Description

This function find all peaks by taking the first derivative based on 'rle' function. Is used in different Fragma functions.

Usage

1
big.peaks.col(x,tre)

Arguments

x

A vector of heights or intensities

tre

A scalar value deciding when peaks will be ignored

Details

No major details.

Value

Retuns the biggest peaks for a vector of intensities.

out

a vector of positions where the derivative is zero and therefore a peak was found

References

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

See Also

The core function of the package mmer

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.