Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lumpAlleles

Allele lumping


Description

Perform allele lumping (i.e., merging unobserved alleles) for all markers attached to the input pedigree.

Usage

lumpAlleles(x, markers = NULL, verbose = FALSE)

Arguments

x

A ped object or a list of such.

markers

A vector of names or indices referring to markers attached to x. (Default: All markers.)

verbose

A logical.

Value

An object similar to x, but whose attached markers have reduced allele set.

Examples

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)

pedprobr

Probability Computations on Pedigrees

v0.5.0
GPL-3
Authors
Magnus Dehli Vigeland [aut, cre] (<https://orcid.org/0000-0002-9134-4962>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.