gbk2genomebrowser {D3GB} | R Documentation |
Generates an interactive genome browser.
Description
gbk2genomebrowser
creates an interactive genome browser from a GenBank file.
Usage
gbk2genomebrowser(gbkfile)
Arguments
gbkfile |
a "character" string representing the input GenBank file to be represented in the genome browser. |
Value
Object of class genomebrowser
.
Author(s)
David Barrios and Carlos Prieto. Bioinformatics, University of Salamanca. See http://d3gb.usal.es/
Examples
# 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)
[Package D3GB version 2.0 Index]