The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

gpmapr

R-CMD-check

gpmapr is an R client for the OpenGWAS Genotype-Phenotype Map. You can: - search the map for traits, genes and variants; - fetch their colocalisation groups, rare-variant results and associations; - upload your own GWAS to compare against the map.

Installation

Install the package from GitHub:

# install.packages("pak")
pak::pak("MRCIEU/gpmapr")

Usage

library(gpmapr)

# Find a trait, gene or variant
search_gpmap("haemoglobin")

# Then fetch it with the call shown in the `call` column
result <- trait(5020)
head(result$coloc_groups)

See vignette("gpmapr") to get started.

Updating

gpmapr checks on the first request of each session that it supports the version of the GPMap API. If the API has changed, you’ll see an error asking you to update. Update with:

pak::pak("MRCIEU/gpmapr")

then restart R.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.