geneSequence: Retrieve Biological Sequences of a given Set of Genes

Description Usage Arguments Details Value Author(s) Examples

View source: R/geneSequence.R

Description

This function takes an character vector storing gene ids of interest and returns the biological sequence of the corresponding gene ids.

Usage

1
geneSequence(genes, db)

Arguments

genes

a character vector storing the gene id of a organisms of interest to be queried against the acnucdb database.

db

a character string specifying the database from which the sequence shall be retrieved.

Details

Sequence information is retrieved from the acnucdb database.

Value

A list of sequences for each corresponding input gene stored as string.

Author(s)

Hajk-Georg Drost

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# retrieve amino acid sequences from the 'swissprot' database 
# for gene ids:"AT1G06090" = "Q9LND9" and "AT1G06100" = "Q9LND8"
seqs <- geneSequence(c("Q9LND9","Q9LND8"), db = "swissprot")
  
# choose different databases available
seqinr::choosebank()

## End(Not run)

HajkD/seqstats documentation built on April 26, 2020, 8:03 p.m.