get_gene() Get the gene coordinates for a gene Required parameter is gene name

This method is deprecated and will be removed in future versions. use get_gene_coords instead.

get_gene(gene_name, chr = NULL, build = 38)

Arguments

gene_name

A string representing a gene name (e.g. "FTO")

chr

A string, search for the genes on this chromosome only, (e.g chr="chr1")

build

A string, genome build, choose between builds 37 (GRCh37) and 38 (GRCh38) (default is 38)

Value

Dataframe with the gene name and its genetic coordinates

Examples

get_gene("FTO")
#> Warning: 'get_gene' is deprecated.
#> Use 'get_gene' instead.
#> See help("Deprecated")
#>   chrom gene_start gene_end gene_symbol        biotype
#> 1 chr16   53701691 54158512         FTO protein_coding