Learn R Programming

Fragman (version 1.0.1)

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. [object Object]

Details

No major details.

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.

Examples

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

Run the code above in your browser using DataLab