knitr::opts_chunk$set( collapse = TRUE, # comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of {gwasrapidd}
is to provide programmatic access to the NHGRI-EBI
Catalog of published genome-wide association
studies.
Get started by reading the documentation.
Install {gwasrapidd}
from CRAN:
install.packages("gwasrapidd")
Get studies related to triple-negative breast cancer:
library(gwasrapidd) studies <- get_studies(efo_trait = 'triple-negative breast cancer') studies@studies[1:4]
Find associated variants with study r studies@studies$study_id[1]
:
variants <- get_variants(study_id = 'GCST002305') variants@variants[c('variant_id', 'functional_class')]
{gwasrapidd}
was published in Bioinformatics in 2019:
https://doi.org/10.1093/bioinformatics/btz605.
To generate a citation for this publication from within R:
citation('gwasrapidd')
Please note that the {gwasrapidd}
project is released with a Contributor Code
of Conduct. By contributing
to this project, you agree to abide by its terms.
This work would have not been possible without the precious help from the GWAS Catalog team, particularly Daniel Suveges.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.