gene2sequence: Get the coding sequence of a gene

View source: R/gene2sequence.R

gene2sequenceR Documentation

Get the coding sequence of a gene

Description

Get the coding sequence of a gene

Usage

gene2sequence(
  gene,
  organism = "hsapiens",
  biomart = "ensembl",
  host = "https://www.ensembl.org",
  verbosity = 1L
)

Arguments

gene

Character vector: One or more HGNC gene symbols.

organism

Character scalar: Organism short name (Ensembl convention, e.g. "hsapiens").

biomart

Character scalar: BioMart name.

host

Character scalar: Host address.

verbosity

Integer: Verbosity level.

Value

data.frame with columns "gene", "ensembl_transcript_id" and "sequence".

Author(s)

EDG

Examples

# Requires internet connection and fetches data from Ensembl using biomaRt.
## Not run: 
  mapt_seq <- gene2sequence("MAPT")

## End(Not run)

rtemis.a3 documentation built on April 29, 2026, 1:06 a.m.