guessProfile try to guess the correct profile
based on peak height.
Usage
guessProfile(data, ratio = 0.6, height = 50,
na.rm = FALSE)
Arguments
data
a data frame containing at least
'Sample.Name', 'Marker', 'Allele', Height'.
ratio
numeric giving the peak height ratio
threshold.
height
numeric giving the minumum peak height.
na.rm
logical indicating if rows with no peak
should be discarded.
Value
data.frame 'data' with genotype rows only.
Details
Takes typing data from single source samples and filters
out the presumed profile based on peak height and a
ratio. Keeps the two highest peaks if their ratio is
above the threshold, or the single highest peak if below
the threshold.