knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of {ensemblr}
is to provide an R client to the Ensembl REST API.
Please note that this package is still in its infancy and hence only a small fraction of the resources exposed by the Ensembl REST API are retrievable via {ensemblr}
. You can check the functionality covered so far in Ensembl REST API Coverage.
You can install the current, very experimental version of {ensemblr}
with:
# install.packages("remotes") remotes::install_github("ramiromagno/ensemblr")
TODO
Retrieve human linkage disequilibrium information for variants within a 1 kilobase window centred on variant 'rs123'
:
library(ensemblr) get_ld_variants_by_window('rs123', genomic_window_size = 1L)
Please note that the {ensemblr}
project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
The {ensemblr}
logo, ensemblr.png
, is a derivative work of an illustration of "The small DNA double helix in PDB entry 309d" by David S. Goodsell and the RCSB PDB, used under CC-BY-4.0. ensemblr.png
is licensed under CC-BY-4.0 by Ramiro Magno.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.