mart_genes: biomaRt genes

Description Usage Arguments Value Examples

View source: R/annotate.R

Description

Extract gene informations from biomaRt

Usage

1
mart_genes(release = "hg19", chr = "X")

Arguments

release

A character. Genome release name. Valid releases are "hg19", "hg38".

chr

A character or NULL. If specified, only the genes from the specified chromosomes will be returned.

Value

A data.table with the gene symbol, start and end position and matching ensembl transcripts.

Examples

1
2
3
4
#Chromosome X, hg19
egX <- mart_genes()
#Full genome, latest release
eg <- mart_genes("hg38")

XCIR documentation built on Nov. 8, 2020, 7:41 p.m.