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
lukepilling
tolcpilling
to 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_indep
is renamedld_clump
to be more consistent with the {ieugwasr} package (https://github.com/MRCIEU/ieugwasr)get_loci()
optionld_pruning_r2
is renamedld_clump_r2
to be more consistent with the {ieugwasr} package (https://github.com/MRCIEU/ieugwasr)get_loci()
optionexclude_hla
is renamedsingle_hla_locus
because we are not actually excluding it, just treating it as one continuous locus
get_loci()
now has the optionexclude_hla
to 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_example
data 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_clump
option toget_loci()
function, to get independent SNPs at the same locus - Add
use_pvalue
option toget_loci()
function
- Added a
NEWS.md
file to track changes to the package.