Description Usage Arguments Value Examples
View source: R/setStandalone.R
The epiviz app run by function startStandalone
in this package
is cloned as a git repository. This function intializes the settings specifying
which git repository is used. It can be either a github repository (the usual case),
or local repository containing the epiviz JS app (used for testing and development).
1 2 3 4 5 6 | setStandalone(
url = "https://github.com/epiviz/epiviz.git",
branch = "min",
local_path = NULL,
non_interactive = FALSE
)
|
url |
(character) github url to use. defaults to ("https://github.com/epiviz/epiviz.git"). |
branch |
(character) branch on the github repository. defaults to (master). |
local_path |
(character) if you already have a local instance of epiviz and would like to run standalone use this. |
non_interactive |
(logical) don't download repo, used for testing purposes. |
path to the epiviz app git repository
1 2 3 | # argument non_interactive here to avoid downloading when testing
# package. Remove non_interactive argument when you try it out.
setStandalone(url="https://github.com/epiviz/epiviz.git", branch="master", non_interactive=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.