get_gene_id_for_variant: find the hgnc symbol overlapping a variant position

Description Usage Arguments Value Examples

Description

find the hgnc symbol overlapping a variant position

Usage

1
get_gene_id_for_variant(variant, build = "grch37", verbose = FALSE)

Arguments

variant

data frame or list for a variant, containing columns named "chrom", "start_pos", and "end_pos" for a single variant

build

genome build to find consequences on

verbose

flag indicating whether to print variants as they are checked

Value

a character string containing the HGNC symbol.

Examples

1
2
3
4
get_gene_id_for_variant(data.frame(chrom=c("1"), start_pos=c("1000000"),
    end_pos=c("1000000")))
get_gene_id_for_variant(list(chrom="1", start_pos="1000000",
    end_pos="1000000"))

jeremymcrae/publishedDeNovos documentation built on May 19, 2019, 5:08 a.m.