map_mask: find the next most significant SNP, masking a list of sigsnps
Description
Internal helper function for finemap.signals
Usage
map_mask(D, LD, r2thr = 0.01, sigsnps = NULL)
Value
named numeric - Z score named by snp
Arguments
- D
 
dataset in standard coloc format
- LD
 
named matrix of r
- r2thr
 
mask all snps with r2 > r2thr with any in sigsnps
- sigsnps
 
names of snps to mask