gwasRegional: 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)
Value
Returns a data table of variant information and p-values with the following columns:
variant.id: Character vector. Variant identifier.
variant.chromosome: Character vector. Chromosome of the variant.
variant.position: Integer vector. Position of the variant.
pval: Numeric vector. P-value.
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.