Note

Auxiliary scripts are hosted in the MPH repository.

GRM input/output

MPH computes only genomic relationship matrices. External general relationship matrices can be converted to MPH format for use in MPH.

Heritability enrichment

Making a SNP info file

A Perl script, make_snp_info.pl, is provided to create the SNP info file for partitioning heritability across functional annotations.

Usage:

Example:

From VCs to enrichments

The .mq.vc.csv file produced by mph --reml contains the estimates and SEs of VCs, PVEs, and enrichments, where PVEs and enrichments are valid only when functional annotation categories do not overlap with one another.

If functional categories actually overlap, one more quick computation is needed to recompute PVEs and enrichments from .mq.vc.csv and the SNP info file. This can be quickly done by recompute_enrichments() in mph_functs.R.

recompute_enrichments(vcfile, crossprod, nsnps=NA, annot.size=NA, trait.x=NA, trait.y=NA)

A usage example is available here.