powered by
This function computes pleioh2g for the target disease before correction.
Cal_cor_pleiotropic_h2_single(rg_mat, h2g_T_single, plei_h2_idx)
pleioh2g value for the target disease before correction
genetic correlation matrix.
heritability for target diseases.
index of the target disease in the rg_mat.
data(Results_full_rg) data(h2_vector) plei_h2_idx<-1 h2g_T_single<-h2_vector[plei_h2_idx] Cal_cor_pleiotropic_h2_single(Results_full_rg,h2g_T_single,plei_h2_idx)
Run the code above in your browser using DataLab