Skip to contents

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:

  • 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.

Examples

if (FALSE) { # \dontrun{
result <- gwasRegional(study_id = "GCST90002357",
chromosome = "1", start = 153992685, end = 154155116)
} # }