Learn R Programming

pleioh2g (version 0.1.1)

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

Description

This function inversed elements for the target disease in bias correction procedure.

Usage

Cal_cor_test_single(rg_mat, plei_h2_idx)

Value

inverse element value for the target disease used for bias correction

Arguments

rg_mat

genetic correlation matrix.

plei_h2_idx

index of the target disease in the rg_mat.

Examples

Run this code
data(Results_full_rg)
plei_h2_idx<-1
Cal_cor_test_single(Results_full_rg,plei_h2_idx)

Run the code above in your browser using DataLab