gwasRegional {otargen}R Documentation

Retrieve GWAS summary statistics for a genomic region.

Description

For a given study ID and chromosomal region information, this function returns data frame(tibble format) with all variants and their GWAS summary statistics.

Usage

gwasRegional(study_id, chromosome, start, end)

Arguments

study_id

Character: Open Target Genetics generated ID for the GWAS study.

chromosome

Character: Chromosome number as a string.

start

Integer: Start position of the specified chromosome.

end

Integer: End position of the specified chromosome.

Value

Returns a data table of variant information and p-values with the following columns:

Examples

## Not run: 
result <- gwasRegional(study_id = "GCST90002357",
chromosome = "1", start = 153992685, end = 154155116)

## End(Not run)

[Package otargen version 1.1.1 Index]