Learn R Programming

strvalidator (version 1.6.0)

calculateSpike: Detect Spike

Description

Detect samples with possible spikes in the DNA profile.

Usage

calculateSpike(data, threshold = NULL, round.to = 1, kit = NULL,
  debug = FALSE)

Arguments

data
data.frame with including colums 'Sample.Name', 'Marker', 'Size'.
threshold
numeric number of peaks of similar size in different dye channels to pass as a possible spike (NULL = number of dye channels minus one to allow for on unlabelled peak).
round.to
numeric toleranse for Size.
kit
string or numeric for the STR-kit used (NULL = auto detect).
debug
logical indicating printing debug information.

Value

  • data.frame

Details

Creates a list of possible spikes by searching for peaks aligned vertically (i.e. nearly identical size).

See Also

data.table