get_RSquared_bGWAS: Get squared correlation between observed and prior effects...

View source: R/bGWAS_classFunctions.R

get_RSquared_bGWASR Documentation

Get squared correlation between observed and prior effects from bGWAS results

Description

Returns squared correlation between observed and prior effects, for different subsets of SNPs (all, the ones having at least a moderate effects - p-value < 0.001 -, MR instruments)

Usage

get_RSquared_bGWAS(obj, SNPs = "all")

Arguments

obj

an object of class bGWAS created using bGWAS()

SNPs,

"all" / "moderate" / "instruments"

Value

a squared correlation


n-mounier/bGWAS documentation built on Oct. 11, 2023, 1:39 a.m.