genome_createLocalMode {D3GB} | R Documentation |
Generates an interactive genome browser.
Description
genome_createLocalMode
creates an interactive genome browser to open directly in your browser.
Usage
genome_createLocalMode(gb, dir="GenomeBrowser")
Arguments
gb |
a genome browser object produced by the function |
dir |
a "character" string representing the directory where the graph will be saved. |
Value
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.
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
, createAssembly
, getAssemblyFromFasta
, GRCh37.bands
, GRCh38.bands
, genome_addGFF
, genome_addSequence
, genome_addTrack
, genome_addVCF
.
Examples
# Genome browser generation.
gb <- genomebrowser(GRCh38.bands)
# It creates a genome browser ready to be viewed in your browser.
genome_createLocalMode(gb,dir=tempfile())
[Package D3GB version 2.0 Index]