Description Usage Arguments Value
This function creates a basis
create_basis
creates a trait snp matrix that is suitable for basis creation and projection
1 | create_basis(gwas.DT, shrink.DT, apply.shrinkage = TRUE)
|
gwas.DT |
data.table object for basis traits as returned by |
shrink.DT |
data.table object of matching shrinkage estimates returned by |
apply.shrinkage |
boolean on whether to apply shrinkage or not [Default TRUE] |
a prcomp object representing the basis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.