compact: Compact

Description Usage Arguments Details Value

Description

Add Identical Peaks.

Usage

1
2
compact(data, per.sample = TRUE, col = "Height", sim = FALSE,
  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' 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.

Details

Add peak heights of identical allele designations together.

Value

data.frame with columns 'Sample.Name', 'Marker', 'Allele', and 'Height'.


pcrsim documentation built on May 2, 2019, 2:40 a.m.