associations() now returns the processed tibble.
Previously its ... %>% return() inside a pipe did not
return from the function (since magrittr 2.0), so the raw server data
frame was returned instead, with n as character.beta for ukb-e
datasets in associations(), tophits() and
phewas(). The flip was never applied in
associations() (see above), and the OpenGWAS server is the
right place to correct these datasets.%>% return() with explicit
return() calls throughout.ld_clump()... to api_query() in
variants_chrpos()associations()NULL opengwas_jwt in
api_query()afl2_list() hapmap3 branchfill_n() against empty or multi-row
gwasinfo() resultsgetOption() instead of copying the full options
listassociations()seq_along()/seq_len() instead of
1:length() loop boundsld_clump_api() defaults with its
documentationget_query_content() error path robust to non-JSON
bodiestophits() (closes #76)origin to as.POSIXct() in allowance
reset handling (closes #103)ld_clump() (thanks @DarwinAwardWinner).ld_clump() and ld_matrix() now search for
the plink binary as documented (thanks @DarwinAwardWinner).gwasinfo_files() helpfile.api_query() (thanks @Gaoyan152)..gz files for each super-population and divided by
chromosomes.ieugwasr::tophits() and
ieugwasr::associations().Adding messaging about package version
Adding messaging about OpenGWAS # ieugwasr 0.1.5
Added options to perform LD functions on different super-populations
Catching 503 error codes and retrying up to 5 times. This should help avoid fails when the server is busy.
NEWS.md file to track changes to the
package.