get_loci()andget_nearest_gene()detect GWAS CATALOG input automatically. Can be disabled withdetect_headers=FALSE
- Change URL to reflect my GitHub username change from
lukepillingtolcpillingto be more consistent between different logins, websites, and social media
get_loci()-- update errors and use p-value if provided
- Change how functions detect SAIGE input
- Added warnings for depreciated options in
get_loci()
get_loci()andget_nearest_gene()detect BOLT-LMM, SAIGE and REGENIE input automatically. Can be disabled withdetect_headers=FALSE
get_loci()optionget_ld_indepis renamedld_clumpto be more consistent with the {ieugwasr} package (https://github.com/MRCIEU/ieugwasr)get_loci()optionld_pruning_r2is renamedld_clump_r2to be more consistent with the {ieugwasr} package (https://github.com/MRCIEU/ieugwasr)get_loci()optionexclude_hlais renamedsingle_hla_locusbecause we are not actually excluding it, just treating it as one continuous locus
get_loci()now has the optionexclude_hlato treat the HLA region as one continuous locus (default = FALSE). Coordinates are specified withhla_pos = c(25e6, 34e6)[these are the defaults]- Minor documentation updates
- Added
gwas_exampledata for running examples get_loci()Genetic loci are now defined around variants with p-value < 5 × 10−8. The locus borders were set 500kb (n_bases) to each side of the highest genome-wide significant variant in each region.get_loci()"lead" column is the best lead SNP from distance (i.e., all input SNPs) or from LD clumping (subset in reference dataset panel)- Fixes for
get_loci()niche cases - Fixes for
get_nearest_gene()niche cases
- Fix internal -log10p calculation
- Swap most "Depends" to "Imports"
- Add dependency for {ieugwasr}
- Add
ld_clumpoption toget_loci()function, to get independent SNPs at the same locus - Add
use_pvalueoption toget_loci()function
- Added a
NEWS.mdfile to track changes to the package.