Obtains a consensus genotype from duplicate samples

Share:

Description

A function for obtaining a consensus genotype from duplicate samples. The amount of missing data is minimised, and preference is given to samples with lower genotyping error

Usage

1
consensusG(GdP, cat.levels=NULL, gmax=FALSE, het=FALSE)

Arguments

GdP

a GdataPed object

cat.levels

order of genotyping error rate categories, with most reliable category first

gmax

logical; if a most represented genotype exists should it be saved

het

logical; should heterozygotes be saved over homozygotes - overrides cat.levels

Value

GdP

a GdataPed object

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

GdataPed

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.