Description Usage Arguments Value Examples
Make a centered (scaled) genetic marker matrix
1 2 |
M |
matrix of genotypes in bi-allelic format (e.g. AA, AC, CC). Missing data is entered as NA. |
bAlleleFrequency |
vector of B allele frequencies for the markers. Default is NULL, which takes the column means of the M matrix or the column means divided by two in case of haplotypes. |
scaled |
logical whether scaling of genotype score need to be done. Default is TRUE. |
haploid |
logical wheter marker scores are haplotypes. Default is FALSE. |
SNPinRows |
logical whether markers are in rows. If FALSE markers are assumed to be present in columns. Default is TRUE. |
realization of the Z matrix in R matrix format
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.