Learn R Programming

pleioh2g (version 0.1.1)

Estimation of Pleiotropic Heritability from Genome-Wide Association Studies (GWAS) Summary Statistics

Description

Provides tools to compute unbiased pleiotropic heritability estimates of complex diseases from genome-wide association studies (GWAS) summary statistics. We estimate pleiotropic heritability from GWAS summary statistics by estimating the proportion of variance explained from an estimated genetic correlation matrix (Bulik-Sullivan et al. 2015 ) and employing a Monte-Carlo bias correction procedure to account for sampling noise in genetic correlation estimates.

Copy Link

Version

Install

install.packages('pleioh2g')

Monthly Downloads

239

Version

0.1.1

License

GPL-3

Maintainer

Yujie Zhao

Last Published

February 19th, 2026

Functions in pleioh2g (0.1.1)

generate_proposal_sample_changea_cor

Generate samples based on sampling covariance matrix and rg matrix for target disease
h2_liability

Convert Heritability to Liability Scale
read_m

Read M from either internal or external file - refer to ldscr R package (https://github.com/mglev1n/ldscr)
read_sumstats

Read summary statistics from either internal or external file - refer to ldscr R package (https://github.com/mglev1n/ldscr)
pleiotropyh2_cor_computing_single_prune

Compute pleioh2g after bias correction for target disease
pleiotropyh2_nocor_computing_single

Compute pleioh2g before bias correction for target disease
read_ld

Read ld from either internal or external file - refer to ldscr R package (https://github.com/mglev1n/ldscr)
read_wld

Read wld from either internal or external file - refer to ldscr R package (https://github.com/mglev1n/ldscr)
sumstats_munged_example_input

Example munged dataframe - refer to ldscr R package (https://github.com/mglev1n/ldscr)
Cal_rg_h2g_jk_alltraits

genomic-block jackknife and compute rg + h2g
Cal_cor_pleiotropic_h2_single

Compute single pleioh2g for target disease before correction with referred disease index in the rg matrix
Prune_disease_selection_DTrgzscore

Prune disease selection
Results_full_rg

Genetic correlation matrix for 62 traits
Cal_cor_pleiotropic_h2_corrected_single

Compute single pleioh2g for target disease after correction with referred disease index in the rg matrix and corrected ratio
Cal_cor_test_single

Compute inversed elements for the target disease in bias correction procedure with referred disease index in the rg matrix
Cal_rg_h2g_alltraits

Compute rg + h2g
Cal_cor_pleiotropic_h2

Compute a vector of pleioh2g for all diseases before correction This function computes pleioh2g for all diseases before correction in one go.
merge_sumstats

Merging summary statistics with LD-score files - refer to ldscr R package (https://github.com/mglev1n/ldscr)
make_weights

Internal Function to make weights - refer to ldscr R package (https://github.com/mglev1n/ldscr)
pleiotropyh2_cor_computing_single

Compute pleioh2g after bias correction for target disease
ldsc_rg

Estimate cross-trait genetic correlations (Robust Version) - refer to ldscr R package (https://github.com/mglev1n/ldscr)
perform_analysis

Internal function to perform LDSC heritability/covariance analysis - refer to ldscr R package (https://github.com/mglev1n/ldscr)
ldsc_h2

Estimate heritability - refer to ldscr R package (https://github.com/mglev1n/ldscr)
pruning_pleioh2g_wrapper

Perform pruning in computing pleioh2g and correct bias
h2_vector_mat

h2 jk matrix for 62 traits
h2_vector

h2 vector for 62 traits
Rg_mat_z

Genetic correlation Z matrix for 62 traits
Results_full_rg_array

Jackknife array of genetic correlations (62 traits)