get_genes_variants: Get the variants located on the genes

View source: R/omim.R

get_genes_variantsR Documentation

Get the variants located on the genes

Description

Get the variants located between the start and stop positions of the genes given as input.

Usage

get_genes_variants(genes, verbose = FALSE)

Arguments

genes

list of genes (can be obtained from get_omim_genes)

verbose

if true, will print progress information (default: FALSE)

Value

a data.frame of variants with the following columns (see: format_output)

  • chr (chromosome)

  • pos (position of the variant)

  • rsid (variant ID)

  • ensembl_gene_id ("gene id" of the gene associated with the variant)

  • hgnc_symbol ("hgnc symbol" of the gene associated with the variant)

  • source (here the value will be "omim")


MCorentin/vargen documentation built on Feb. 6, 2024, 2:32 p.m.