getGeneSeq | R Documentation |
This function retrieves a gene sequence from the NCBI database.
getGeneSeq(chr, start, end, organism)
chr |
Chromosome number, numeric/string |
start |
Start position, numeric |
end |
End position, numeric |
organism |
Name of the organism, string |
Extracting a gene sequence from NCBI database. For a list of available organism, visit
http://genome.ucsc.edu/cgi-bin/das/dsn. All id="." field are available.
A string that contains the genomic sequence.
Daniel Fischer
## Not run:
# Extracting for Sus Scrofa, build version 3:
getGeneSeq(1,2134,14532,"susScr3")
getGeneSeq(10,1233312,1233350,"hg38")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.