genesForVariant {otargen}R Documentation

Retrieves variant-surrounding genes with calculated statistics for causal gene prioritization.

Description

This function retrieves all calculated prioritizing scores for surrounding genes of a specific variant based on the Open Target Genetics locus-to-gene (L2G) ML scoring pipeline. It provides detailed insights into the relationship between genetic variants and genes, allowing users to explore the impact of variants on gene expression, colocalization scores, chromatin interactions, and predicted functional effects. The function returns the information in a structured format, making it easier to analyze and interpret the results.

Usage

genesForVariant(variant_id)

Arguments

variant_id

A character string specifying the ID of the variant for which to fetch gene information.

Value

A list with the following components:

Examples

## Not run: 
  result <- genesForVariant(variant_id = "1_154453788_C_T")
  result <- genesForVariant(variant_id = "rs4129267")
  print(result)

## End(Not run)

[Package otargen version 1.1.1 Index]