create_basis creates a trait snp matrix that is suitable for basis creation and projectioncreate_basis.RdThis function creates a basis
create_basis creates a trait snp matrix that is suitable for basis creation and projection
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