genome_addSequence {D3GB} | R Documentation |
Add genome sequence on Fasta format to genomebrowser
.
Description
genome_addSequence
add FASTA sequences to genomeviewer
.
Usage
genome_addSequence(gb, fastafile)
Arguments
gb |
a genome browser object produced by the function |
fastafile |
a "character" string representing the input Fasta file to be added in the genome browser. |
Value
No return value, called for side effects
Author(s)
David Barrios and Carlos Prieto. Bioinformatics, University of Salamanca. See http://d3gb.usal.es/
See Also
The ‘D3GB’ Website: http://d3gb.usal.es
genomebrowser
, genome_addGFF
, genome_addTrack
, genome_addVCF
.
Examples
# Download fasta file
fasta <- 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.fna.gz"),fasta)
# Genome browser generation.
gb <- genomebrowser(getAssemblyFromFasta(fasta))
genome_addSequence(gb,fasta)
plot(gb)
[Package D3GB version 2.0 Index]