LD_diagnosis_susie_rss: Perform diagnosis to check the consistency between the GWAS...

View source: R/diagnosis.R

LD_diagnosis_susie_rssR Documentation

Perform diagnosis to check the consistency between the GWAS z-scores and LD matrix, and detect problematic z-scores (e.g. allele switch issue) using diagnostic functions from SuSiE RSS.

Description

Perform diagnosis to check the consistency between the GWAS z-scores and LD matrix, and detect problematic z-scores (e.g. allele switch issue) using diagnostic functions from SuSiE RSS.

Usage

LD_diagnosis_susie_rss(z, R, n)

Arguments

z

z scores.

R

LD correlation matrix.

n

The sample size. (Optional, but highly recommended.)

Value

a data frame of expected z-scores and test statistics from susieR::kriging_rss.


kevinlkx/Mapgen documentation built on April 2, 2024, 5:48 a.m.