Description Usage Arguments Examples
View source: R/utility_functions.R
Centers dosage matrix, e.g. for use in whole-genome regressions like rrBLUP
1 | centerDosage(M)
|
M |
dosage matrix. Assumes SNPs in M coded 0, 1, 2 (requires rounding dosages to integers). M is Nind x Mrow, numeric matrix, with row/columanes to indicate SNP/ind ID |
1 | centeredM<-centerDosage(M)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.