data frame with at least 'Sample.Name', 'Marker', 'Allele', and 'Height' columns.
per.sample
logical TRUE compact per sample, FALSE for entire dataset (in which case
'Sample.Name' is set to 'Profile' and if sim=TRUE 'Sim' is set to '1' and 'PCR.Vol' is set to the mean).
col
character string to specify which column to compact.
sim
logical to specify if simulation columns should be replicated (i.e. 'Sim' and 'PCR.Vol').
debug
logical for printing debug information.
Value
data.frame with columns 'Sample.Name', 'Marker', 'Allele', and 'Height'.
Details
Add peak heights of identical allele designations together.