View source: R/big.peaks.col.R
| big.peaks.col | R Documentation |
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)
x |
A vector of heights or intensities |
tre |
A scalar value deciding when peaks will be ignored |
No major details.
Retuns the biggest peaks for a vector of intensities.
a vector of positions where the derivative is zero and therefore a peak was found
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.
data(my.plants)
big.peaks.col(my.plants[[1]][,1],100)#for any color
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.