Tutorial¶
Fast Matrix Algebra with LDGM Precision Matrices¶
To run these tutorials, first follow the installation instructions to clone the repo.
Using LDGMs with real data¶
To use LDGMs with real data, please consult ldgm/matlab/tutorials/realdata_tutorial.mlx.
This MATLAB Live Script shows how to:
Load LDGM precision matrices
Merge precision matrices with summary statistics
Estimate heritability
Compute polygenic scores
Perform basic matrix operations
Compute likelihood of the summary statistics
Simulating GWAS Summary Stats and running BLUPx¶
To use LDGMs to simulate GWAS summary statistics and run BLUPx, please consult: ldgm/matlab.tutorials/simulations_tutorial.mlx.
This script shows how to:
Load LDGM precision matrices
Simulate GWAS summary statistics with realistic LD patterns
Run BLUPxldgm on the summary statistics
Benchmark BLUPxldgm performance across populations