get_variants_by_gene_name: Get GWAS Catalog variants by gene name.

View source: R/get_variants.R

get_variants_by_gene_nameR Documentation

Get GWAS Catalog variants by gene name.

Description

Gets variants whose genomic context includes a specific gene or genes.

Usage

get_variants_by_gene_name(
  gene_name = NULL,
  verbose = FALSE,
  warnings = TRUE,
  page_size = 20L
)

Arguments

gene_name

A character vector of gene names.

verbose

Whether the function should be verbose about the different queries or not.

warnings

Whether to print warnings.

page_size

An integer scalar indicating the page value to be used in the JSON requests, can be between 1 and 1000.

Value

A variants object.


gwasrapidd documentation built on May 29, 2024, 4:31 a.m.