
Last chance! 50% off unlimited learning
Sale ends in
Calculates the heterozygote (intra-locus) peak balance.
calculateHb(
data,
ref,
hb = 1,
kit = NULL,
sex.rm = FALSE,
qs.rm = FALSE,
ignore.case = TRUE,
exact = FALSE,
word = FALSE,
debug = FALSE
)
data.frame with with columns 'Sample.Name', 'Marker', 'Delta', 'Hb', 'MPH'.
a data frame containing at least 'Sample.Name', 'Marker', 'Height', and 'Allele'.
a data frame containing at least 'Sample.Name', 'Marker', 'Allele'.
numerical, definition of heterozygote balance. Default is hb=1. hb=1: HMW/LMW, hb=2: LMW/HMW, hb=3; min(Ph)/max(Ph).
character defining the kit used. If NULL automatic detection is attempted.
logical TRUE removes sex markers defined by 'kit'.
logical TRUE removes quality sensors defined by 'kit'.
logical indicating if sample matching should ignore case.
logical indicating if exact sample matching should be used.
logical indicating if word boundaries should be added before sample matching.
logical indicating printing debug information.
Calculates the heterozygote (intra-locus) peak balance for a dataset. Known allele peaks will be extracted using the reference prior to analysis. Calculates the heterozygote balance (Hb), size difference between heterozygous alleles (Delta), and mean peak height (MPH). NB! 'X' and 'Y' will be handled as '1' and '2' respectively.
data(ref2)
data(set2)
# Calculate average balances.
calculateHb(data = set2, ref = ref2)
Run the code above in your browser using DataLab