Usage
calculateBalance(data, ref, lb = "prop", per.dye = TRUE, hb = 1, ignore.case = TRUE, word = FALSE, debug = FALSE)
Arguments
data
a data frame containing at least
'Sample.Name', 'Marker', 'Height', 'Allele', and Dye'.
ref
a data frame containing at least
'Sample.Name', 'Marker', 'Allele'.
lb
string. 'prop' is defualt and locus balance is calculated proportionally
'norm' locus balance is normalised in relation to the locus with the highest total peakheight.
per.dye
logical, default is TRUE and locus balance is calculated within each dye.
FALSE locus balance is calculated globally across all dyes.
hb
numerical, definition of heterozygous balance. Default is hb=1.
hb=1: HMW/LMW, hb=2: LMW/HMW, hb=3; Max2(Ph)/Max1(Ph).
ignore.case
logical indicating if sample matching should ignore case.
word
logical indicating if word boundaries should be added before sample matching.
debug
logical indicating printing debug information.