big.peaks.col {Fragman}R Documentation

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

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

Covarrubias-Pazaran G, Diaz-Garcia L, Schlautman B, Salazar W, Zalapa J. Fragman: An R package for fragment analysis. 2016. BMC Genetics 17(62):1-8.

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.

Examples

data(my.plants)
big.peaks.col(my.plants[[1]][,1],100)#for any color

[Package Fragman version 1.0.9 Index]