View source: R/genomebrowser.R
| genome_createServerMode | R Documentation |
genome_createServerMode creates an interactive genome browser to be shared as a website.
genome_createServerMode(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 website. Resulting folder should be added to the Apache applications directory. In this way the genome browser will be working as a web site.
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 website. You can add it to your Apache server.
genome_createServerMode(gb,dir=tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.