normPeaks: normPeaks

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/LazyMLVA.R

Description

The function normalizes a peak vector containing the locations of peaks to make it comparable to other peak vectors.

Usage

1
normPeaks(pks)

Arguments

pks

a numeric vector of length >= 3 containing the locations of peaks in an ABIF file.

Value

returns a numeric vector of length length(pks)-2 containing values between 0 and 1.

Author(s)

Johannes Elias

References

package seqinr by Charif, D. and Lobry, J.R. (2007)

See Also

seqinr::peakabif, extractNormPeaks

Examples

1
2
# "normalize" any vector
normPeaks(c(3,5,6,9,10))

LazyMLVA documentation built on May 2, 2019, 5:33 p.m.