knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

ensemblr

CRAN status lifecycle

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.

Installation

You can install the current, very experimental version of {ensemblr} with:

# install.packages("remotes")
remotes::install_github("ramiromagno/ensemblr")

Cheatsheet

TODO

Example

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)

Contributors

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.

Logo

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.

Similar projects



ramiromagno/ensemblr documentation built on Oct. 19, 2023, 11:12 a.m.