GWAS.catalog.SNP: Fetches associations in the GWAS Catalog involving the given...

View source: R/query_GWAS_Catalog.R

GWAS.catalog.SNPR Documentation

Fetches associations in the GWAS Catalog involving the given SNPs

Description

Uses GWAS Catalog Access via API (https://www.ebi.ac.uk/gwas/rest/docs/api). to fetch GWAS associations. If no associations is found, NULL is returned.

Usage

GWAS.catalog.SNP(rs)

Arguments

rs

reference SNP IDs for the variant

Value

a data frame listing the associations recorded in the GWAS catalog

Author(s)

Alessia Visconti

Examples

GWAS.catalog.SNP("rs7681615")
GWAS.catalog.SNP("rs4693052")

alesssia/timesaveR documentation built on Jan. 26, 2024, 5:21 p.m.