Internal helper function for finemap.signals
map_mask(D, LD, r2thr = 0.01, sigsnps = NULL)
dataset in standard coloc format
named matrix of r
mask all snps with r2 > r2thr with any in sigsnps
names of snps to mask
named numeric - Z score named by snp