Learn R Programming

Fragman (version 1.0.9)

big.peaks.col: 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

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

Details

No major details.

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

Run this code
# NOT RUN {
data(my.plants)
big.peaks.col(my.plants[[1]][,1],100)#for any color
# }

Run the code above in your browser using DataLab