Description Usage Arguments Value Examples
View source: R/correlationMatrix.R
Code additively the genotypes Sum the two columns per individual of the input matrix (each corresponding to one chromosome) to get the additive coding of the individual at the locus.
1 | getAdditivelyCodedMatrix(genoMat, lind)
|
genoMat |
is the matrix of genotype with two colums per individual Rows are variants and columns are individuals |
lind |
is the list of individual in the genotype matrix |
The additively coded genotyped matrix
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.