get_snp_genes: Get Gene info from SNP ID

Description Usage Arguments Value Author(s)

View source: R/get_snp_genes.R

Description

Parse gene IDs from list of SNP IDs (rs IDs). Annotation file is required!

Usage

1
2
3
4
5
get_snp_genes(
  snp,
  ref = "~/cmcouto.silva@usp.br/lab_files/all_datasets/Reference_annotation",
  include = NULL
)

Arguments

snp

Character. Vector with rs IDs.

ref

Scalar character. Path to file with SNP and gene info (table with "SNP" and "GENE" columns).

Value

Character vector with gene IDs.

Author(s)

CainĂ£ Max Couto-Silva


cmcouto-silva/gt documentation built on June 6, 2021, 7:14 p.m.