View source: R/Cal_cor_pleiotropic_h2_corrected_single.R
| Cal_cor_pleiotropic_h2_corrected_single | R Documentation |
This function computes pleioh2g for the target disease after correction.
Cal_cor_pleiotropic_h2_corrected_single(
rg_mat,
h2g_T_single,
corrected_weight_updated,
plei_h2_idx
)
rg_mat |
genetic correlation matrix. |
h2g_T_single |
heritability for target diseases. |
corrected_weight_updated |
the ratio for correction |
plei_h2_idx |
index of the target disease in the rg_mat. |
pleioh2g value for the target disease after correction
data(Results_full_rg)
data(h2_vector)
plei_h2_idx<-1
h2g_T_single <- h2_vector[plei_h2_idx]
corrected_weight_updated <- 0.78
Cal_cor_pleiotropic_h2_corrected_single(Results_full_rg,h2g_T_single,
corrected_weight_updated,plei_h2_idx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.