Add a -maxMaf flag, allowing sites to be filtered based on a maximum MAF as well as a minimum MAF.
Bug fixes in the binomRVScoreEnvRare method. Add extra detail about the highWT/highHE/highHO split by cases versus controls, for help with troubleshooting.
For rare variant bootstrapping, we need to shift the mean of the expected genotypes for both cases and controls to 0 to perform the resampling (this makes the means of the two groups identical so we can perform the test, but preserves variance differences). Calculate the mean separately for the two groups and use it to re-centre the two vectors.
Allow the user to specify the number of bootstrap samples to generate when performing a rare RVS burden test.