View source: R/genomebrowser.R
genome_createLocalMode | R Documentation |
genome_createLocalMode
creates an interactive genome browser to open directly in your browser.
genome_createLocalMode(gb, dir="GenomeBrowser")
gb |
a genome browser object produced by the function |
dir |
a "character" string representing the directory where the graph will be saved. |
The function creates a folder in the working directory of your computer with an HTML document (index.html) which contains the graph. This file can be directly opened with your browser.
David Barrios and Carlos Prieto. Bioinformatics, University of Salamanca. See http://d3gb.usal.es/
The ‘D3GB’ Website: http://d3gb.usal.es
genomebrowser
, createAssembly
, getAssemblyFromFasta
, GRCh37.bands
, GRCh38.bands
, genome_addGFF
, genome_addSequence
, genome_addTrack
, genome_addVCF
.
# Genome browser generation.
gb <- genomebrowser(GRCh38.bands)
# It creates a genome browser ready to be viewed in your browser.
genome_createLocalMode(gb,dir=tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.