Usage
calculateBalance(data, ref, perSample = TRUE, lb = "prop", perDye = TRUE,
hb = 1, ignoreCase = TRUE, debug = FALSE)
Arguments
data
a data frame containing at least
'Sample.Name', 'Marker', 'Height', 'Allele', and Dye'.
perSample
logical, default TRUE calculates balance
for each sample, FALSE calculates the average across all
samples.
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.
perDye
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.
hb=1; HMW/LMW, hb=2; Max1(Ph)/Max2(Ph).
ignoreCase
logical indicating if sample matching
should ignore case.