studiesAndLeadVariantsForGeneByL2G {otargen}R Documentation

Retrieve "locus-to-gene" (L2G) model summary data for a gene.

Description

The "locus-to-gene" (L2G) model derives features to prioritize likely causal genes at each GWAS locus based on genetic and functional genomics features. The main categories of predictive features are:

Usage

studiesAndLeadVariantsForGeneByL2G(gene, l2g = NA, pvalue = NA, vtype = NULL)

Arguments

gene

Character: Gene ENSEMBL ID (e.g. ENSG00000169174) or gene symbol (e.g. PCSK9). This argument can take a list of genes too.

l2g

Numeric: Locus-to-gene (L2G) cutoff score. (Default: NA)

pvalue

Character: P-value cutoff. (Default: NA)

vtype

Character: Most severe consequence to filter the variant types, including "intergenic_variant", "upstream_gene_variant", "intron_variant", "missense_variant", "5_prime_UTR_variant", "non_coding_transcript_exon_variant", "splice_region_variant". (Default: NULL)

Details

The function also provides additional filtering parameters to narrow the results based following parameters (see below)

Value

Returns a data frame containing the input gene ID and its data for the L2G model. The table consists of the following columns:

Examples

## Not run: 
result <- studiesAndLeadVariantsForGeneByL2G(genes = c("ENSG00000163946",
     "ENSG00000169174", "ENSG00000143001"), l2g = 0.7)
result <- studiesAndLeadVariantsForGeneByL2G(genes = "ENSG00000169174",
     l2g = 0.6, pvalue = 1e-8, vtype = c("intergenic_variant", "intron_variant"))
result <- studiesAndLeadVariantsForGeneByL2G(genes = "TMEM61")

## End(Not run)

[Package otargen version 1.1.1 Index]