consenusG: Obtains a consensus genotype from duplicate samples

Description Usage Arguments Value Author(s) See Also

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


MasterBayes documentation built on May 29, 2017, 2:46 p.m.

Search within the MasterBayes package
Search all R packages, documentation and source code