R/ctwas_diagnose_LD_mismatch.R
get_problematic_genes.Rd
Gets problematic genes from problematic SNPs
get_problematic_genes(
problematic_snps,
weights,
finemap_res,
pip_thresh = 0.5,
z_thresh = 3
)
a character vector of problematic SNP rsIDs
a list of weights
a data frame of cTWAS finemapping results
cutoff of gene PIP to select genes
cutoff of abs(z-scores) to select genes
a vector of problematic genes