View source: R/normalise_patterson.R
normalise_patterson | R Documentation |
Perform the Patterson et al. (2006) normalisation to a genotype matrix
normalise_patterson(dat)
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). |
Returns a matrix with the same dimensions as dat
, but with
genotypes normalised as per Patterson et al. (2006).
Patterson et al. (2006) Population structure and eigenanalysis. PLOS Genetics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.