Description Usage Arguments Value Examples
View source: R/correlationMatrix.R
If reference alleles differs, new coding = 2 - old_coding Otherwise, no change
1 | changeCoding(x, v)
|
x |
is the matrix of additively coded genotypes Rows are variants and columns are individuals |
v |
is a vector of boolean indicating wether reference alleles differ or not |
The additively coded genotyped matrix with coded allele in the matrix corresponding to the reference allele in the reference panel
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.