Description Usage Arguments Value Examples
View source: R/startStandalone.R
Uses the local installation of the epiviz desktop app to start a standalone epivizr session
through the startEpiviz
function. The epiviz app requires a list
of sequence names and lengths (e.g., chromsome names and lengths) to setup genome browsing.
These can be passed in the seqinfo
argument or derived from the gene_track
argument.
The gene_track
argument can be used to pass a genome annotation and add a gene track to the
epiviz browser. See package vignette for further detail.
1 2 3 4 5 6 7 8 9 10 11 12 |
gene_track |
(OrganismDb) an object of type |
seqinfo |
(Seqinfo) an object of type |
keep_seqlevels |
(character) vector of sequence names to include in the standalone app |
chr |
(character) chromosome to browse to on app startup. |
start |
(integer) start location to browse to on app startup. |
end |
(integer) end location to browse to on app startup. |
non_interactive |
(logical) run server in non-interactive mode. Used for testing and development. |
register_function |
(function) function used to initialize actions in epiviz app. Used for testing and development. |
host |
(character) host address for application (127.0.0.1 by default) |
... |
additional arguments passed to |
An object of class EpivizApp
1 2 3 4 | # see package vignete for example usage
seqinfo <- GenomeInfoDb::Seqinfo(c("chr1","chr2"), c(10,20))
app <- startStandalone(seqinfo=seqinfo, non_interactive=TRUE)
app$stop_app()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.