normalise_patterson: Perform the Patterson et al. (2006) normalisation to a...

View source: R/normalise_patterson.R

normalise_pattersonR Documentation

Perform the Patterson et al. (2006) normalisation to a genotype matrix

Description

Perform the Patterson et al. (2006) normalisation to a genotype matrix

Usage

normalise_patterson(dat)

Arguments

dat

Matrix: Counts of Alt allele per individual (0, 1, or 2) , e.g. the C(i,j) table described in Patterson et al. (2006).

Value

Returns a matrix with the same dimensions as dat, but with genotypes normalised as per Patterson et al. (2006).

References

Patterson et al. (2006) Population structure and eigenanalysis. PLOS Genetics.


j-a-thia/genomalicious documentation built on Oct. 19, 2024, 7:51 p.m.