R/diagnosis.R
LD_diagnosis_susie_rss.Rd
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.
LD_diagnosis_susie_rss(z, R, n)
z scores.
LD correlation matrix.
The sample size. (Optional, but highly recommended.)
a data frame of expected z-scores and test statistics
from susieR::kriging_rss
.