View source: R/genomebrowser.R
gbk2genomebrowser | R Documentation |
gbk2genomebrowser
creates an interactive genome browser from a GenBank file.
gbk2genomebrowser(gbkfile)
gbkfile |
a "character" string representing the input GenBank file to be represented in the genome browser. |
Object of class genomebrowser
.
David Barrios and Carlos Prieto. Bioinformatics, University of Salamanca. See http://d3gb.usal.es/
# Download GenBank file
gbff <- tempfile()
download.file(paste0("https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/297/395/",
"GCF_000297395.2_ASM29739v2/GCF_000297395.2_ASM29739v2_genomic.gbff.gz"),gbff)
# Genome browser generation.
gb <- gbk2genomebrowser(gbff)
plot(gb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.