It would be nice to have built-in functions to jointly filter inddf and snpdf based on the values of the terms in snpdf. This would reduce the potential for errors on the part of the user. I am thinking of something along the same lines as the filter() function from dplyr. Say, call it filter_snp():
Right now, if you want to filter out SNPs with certain properties (too high
bias
,prop_mis
, etc), then you need to do it manually. E.g.:It would be nice to have built-in functions to jointly filter
inddf
andsnpdf
based on the values of the terms insnpdf
. This would reduce the potential for errors on the part of the user. I am thinking of something along the same lines as thefilter()
function from dplyr. Say, call itfilter_snp()
: