View source: R/gene2sequence.R
| gene2sequence | R Documentation |
Get the coding sequence of a gene
gene2sequence(
gene,
organism = "hsapiens",
biomart = "ensembl",
host = "https://www.ensembl.org",
verbosity = 1L
)
gene |
Character vector: One or more HGNC gene symbols. |
organism |
Character scalar: Organism short name (Ensembl convention,
e.g. |
biomart |
Character scalar: BioMart name. |
host |
Character scalar: Host address. |
verbosity |
Integer: Verbosity level. |
data.frame with columns "gene", "ensembl_transcript_id" and "sequence".
EDG
# Requires internet connection and fetches data from Ensembl using biomaRt.
## Not run:
mapt_seq <- gene2sequence("MAPT")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.