get_gene_coords: Get the genetic position of a gene by gene name

View source: R/setters_and_getters.R

get_gene_coordsR Documentation

Get the genetic position of a gene by gene name

Description

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

Usage

get_gene_coords(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

## Not run: 
get_gene_coords("FTO")

## End(Not run)


topr documentation built on June 22, 2024, 9:59 a.m.

Related to get_gene_coords in topr...