Allele lumping
Perform allele lumping (i.e., merging unobserved alleles) for all markers attached to the input pedigree.
lumpAlleles(x, markers = NULL, verbose = FALSE)
x |
A |
markers |
A vector of names or indices referring to markers attached to
|
verbose |
A logical. |
An object similar to x, but whose attached markers have reduced
allele set.
x = nuclearPed()
x = setMarkers(x, marker(x, geno = c("1/1", NA, NA), alleles = 1:4))
# Before lumping
afreq(x, 1)
# Lump
y = lumpAlleles(x, verbose = TRUE)
afreq(y, 1)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.