create_ts_matrix creates a trait snp matrix that is suitable for basis creation and projectioncreate_ds_matrix.RdThis function creates a trait snp matrix
create_ts_matrix creates a trait snp matrix that is suitable for basis creation and projection
create_ds_matrix(bDT, sDT, method)
| bDT | data.table object for basis traits as returned by |
|---|---|
| sDT | data.table object of matching shrinkage estimates returned by |
| method | scalar vector (either emp or est), emp uses empirically generated MAF SE, est uses and estimate. |
a matrix.