Changed
- Fixed bug in implementation of
.fitmethod of VIPRS models. Specifically,
there was an issue with thecontinued=Trueflag not working because theOptimizeResult
object wasn't refreshed. - Replaced
printstatements withloggingwhere appropriate (still needs some more work). - Updated way we measure peak memory in
viprs_fit - Updated
dict_concatto just return the element if there's a single entry. - Refactored pars of
VIPRSto cache some recurring computations. - Updated
VIPRSBMA&VIPRSGridSearchto only consider models that
successfully converged. - Fixed bug in
psuedo_metricswhen extracting summary statistics data. - Streamlined evaluation code.
- Refactored code to slightly reduce import/load time.
- Fixed bug in
viprs_evaluate
Added
- Added SNP position to output table from VIPRS objects.
- Added measure of time taken to prepare data in
viprs_fit. - Added option to keep long-range LD regions in
viprs_fit. - Added convergence check based on parameter values.
- Added
min_iterparameter to.fitmethods to ensure CAVI is run for at leastmin_iteriterations. - Added separate method for initializing optimization-related objects.
- Added regularization penalty
lambda_min. - Added Spearman R and residualized R-Squared metrics to continuous metrics.
Additional files
Attached are LD matrices for 6 continental ancestry groups, as defined by the Pan-UKB project. The LD matrices are estimated from unrelated samples in the UK Biobank using block-diagonal masks.