Description Usage Arguments Value Examples
This function ...
1 | make_weighted_GRM(genomat, weights)
|
genomat |
matrix of genotypes in -1,0,1 format (i.e. 0 is heterozygous, 1 and -1 are opposing homozygous states) |
weights |
vector of weights for each of the SNPs in the |
a weighted Genomic Relationship Matrix with cols and rows named according to the rownames in genomat
. Uses the cpgen package implementation of Van Radens GRM method
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.