coding.baseline.allele: Standardization of coding alleles

Description Usage Arguments Details Value Author(s)

Description

Dependend on minor allele frequency the coding of the alleles will be updated.

Usage

1
coding.baseline.allele(geno, coding = c("minor", "major"))

Arguments

geno

(m,n)-genotype matrix

m=number of individuals

type R: n=number of snps

coding

which type of coding should be used.

Details

Allele 1 is coded as the minor allele , if coding type "minor" is used. Otherwise allele 1 is coded as major allele.

Value

This function returns the updated genotype matrix.

Author(s)

Sven Knueppel


HapEstXXR documentation built on May 1, 2019, 10:54 p.m.