consenusG: Obtains a consensus genotype from duplicate samples

consensusGR Documentation

Obtains a consensus genotype from duplicate samples

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

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


MasterBayes documentation built on June 22, 2022, 5:06 p.m.