Rdocumentation
powered by
Learn R Programming
strvalidator (version 1.5.2)
compact: Compact Profile
Description
Adds Identical Peaks.
Usage
compact(data, per.sample = TRUE, col = "Height", debug = FALSE)
Arguments
data
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').
col
character string to specify which column to compact.
debug
logical for printing debug information.
Value
data.frame with columns 'Sample.Name', 'Marker', 'Allele', and 'Height'.
Details
Add peak heights of identical alleles together.