variantInfo {otargen}R Documentation

Retrieves information about a variant.

Description

For a given variant ID, this function retrieves information about the variant, including its chromosome, position, reference allele, alternative allele, rsID, nearest gene, most severe consequence, and allele frequencies in different populations from gnomAD databse. The Genome Aggregation Database (gnomAD) is a resource developed by an international coalition of investigators, with the goal of aggregating and harmonizing both exome and genome sequencing data from a wide variety of large-scale sequencing projects, and making summary data available for the wider scientific community (see the reference).

Usage

variantInfo(variant_id)

Arguments

variant_id

Character: generated ID for variants by Open Targets Genetics (e.g. 1_154119580_C_A) or rsId (rs2494663).

Value

Returns a data frame (in tibble format) containing information about the variant. The data frame has the following structure:

References

https://gnomad.broadinstitute.org/

Examples

## Not run: 
result <- variantInfo(variant_id = "rs2494663")

## End(Not run)


[Package otargen version 1.1.1 Index]