Recent Releases of rsnps
rsnps - rsnps 0.6.0
MINOR IMPROVEMENTS
- allgensnp(): previously the dataframe returned contained duplicate "name" columns. Now the "name" column that contains the submitter's name has been renamed "user_name" and the snp rsid name remains "name". (#67)
- allgensnp(): added a parameter "usersubset" which allows to download a subset of users for the particular rsid. (#167)
- improved test coverage from 71 to 76% making use of {vcr} with some test fixtures.
- some typos and formatting improved (#167)
BUG FIXES
- fix ncbisnpquery(): fix so that it does not fail when rsid of SNP is no longer supported. (#157)
- R
Published by jooolia over 2 years ago
rsnps - rsnps 0.5.0
NEW FEATURES
- ncbisnpquery(): enable allele frequency for different reference populations, ncbisnpquery() outputs now a tibble (#97).
MINOR IMPROVEMENTS
- ncbisnpquery(): replace calls to RJSONIO with equivalent in jsonlite (#98).
- unit tests for ncbisnpquery(): added a tolerance to any allele frequency checks.
- move vignette source to /vignettes and precompute using an R script.
DOCUMENTATION FIXES
- Updated vignette.
- R
Published by jooolia almost 4 years ago
rsnps - rsnps 0.4.0
MAJOR IMPROVEMENTS
NCBI / dbSNP changed their API:
- Rewrote
ncbi_snp_queryto accommodate the new API (#86, #88). - Removed the functions
ncbi_snp_query2anncbi_snp_summary.
MINOR IMPROVEMENTS
- Reordered
ncbi_snp_querydataframe output to have chromosome and bp beside each other (#70). - Changed
ncbi_snp_queryparameter (SNPs) to lower case (snps).
DOCUMENTATION FIXES
- Restructured and fixed a typo in
README.Rmdand added link to vignette (#63). - Added info of two new maintainers to
DESCRIPTION. - Added relevant API links to vignette.
BUG FIXES
- Fixed the test for
allphenotypesfunction by making it less specific (#72).
- R
Published by jooolia over 5 years ago
rsnps -
DEPRECATED AND DEFUNCT
ld_search()is now defunct. The Broad Insitute has taken down the SNAP service behind the function. (#46) (#53) (#60)
NEW FEATURES
- the three NCBI functions gain a new parameter
keyfor passing in an NCBI Entrez API key. You can alteernatively (and we encourage this) store your key as an environment variable and we'll use that instead. The key allows you to have higher rate limits than without a key (#58) - gains new function
ncbi_snp_summary()for summary data on a SNP (#31)
MINOR IMPROVEMENTS
- http requests are now done using
crulinstead ofhttr(#44) - now using markdown formatted documentation (#56)
- documented in
ncbi_snp_query()that we can not change the assembly (#49)
BUG FIXES
- fix to
ncbi_snp_query2(): when many IDs passed in, we were failing with a "URI too long" message. We now check how many Ids are passed in and do a POST request as needed (#39) - fixed problem in
ncbi_snp_query()where it wasn't pulling out correctly the gene name and BP position (#25)
- R
Published by sckott over 7 years ago
rsnps - rsnps v0.2.0
NEW FEATURES
LDSearch()is nowld_search(), butLDSearch()still works until the next CRAN release when it will be defunct (#33)NCBI_snp_query()is nowncbi_snp_query(), butNCBI_snp_query()still works until the next CRAN release when it will be defunct (#33)NCBI_snp_query2()is nowncbi_snp_query2(), butNCBI_snp_query2()still works until the next CRAN release when it will be defunct (#33)
MINOR IMPROVEMENTS
- Namespace all base R package function calls (#21)
- Improve
httr::contentcall to parse to text, andencoding = "UTF-8"(#24) - Added tests for
ld_search()(#12) - Added tests for
ncbi_snp_query()andncbi_snp_query2()(#13) - Added ancestral allele output to
ncbi_snp_query()(#23) - Fixed base URLs for some of the APIs - between last release and now, many
have changed to
httpsfromhttp
BUG FIXES
- Fix to
fetch_genotypes(), was failing sometimes when the commented metadata lines at top varied in length (#22) - Fix to
ld_search()(#32)
- R
Published by sckott over 9 years ago
rsnps - v0.1.0
snps 0.1.0
NEW FEATURES - Bug fixes to all openSNP functions.
Basically, most of the functions weren't working. Sorry about that. We were simply doing fromJSON(url), and it was failing recently when it had worked before. We switched to more robust setup using httr like
coffee
res <- GET(url) # request data from server
stop_for_status(res) # check HTTP status code and stop if an error code, or pass if not
content(res) # get JSON data
- R
Published by sckott almost 12 years ago