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 = "hg38", chr = "X", mirror = NULL)

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.

mirror

A character. Passed to useEnsembl.

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("hg19", mirror = "useast")
#Full genome, latest release
eg <- mart_genes("hg38", mirror = "useast")

SRenan/XCIR documentation built on Oct. 8, 2021, 3:11 a.m.