R/launchApp.R

Defines functions viromeBrowser

Documented in viromeBrowser

#' @title Launch the Virome Browser
#'
#' @description
#' An application for viewing virome annotation files
#'
#' @import shiny
#' @rawNamespace import(plotly, except = last_plot)
#' @import ggplot2
#' @import shinydashboard
#' @import Biostrings
#' @import Rsamtools
#' @import data.table
#' @import markdown
#' @import shinyWidgets
#' @import stringr
#' @import shinycssloaders
#' @export
#' @param host The host ip address, 127.0.0.1 or "localhost" by default.
#' @param port The host port, 3838 by default.
viromeBrowser <- function(host = getOption("shiny.host", "127.0.0.1"), port = getOption("shiny.port",3838)) {
	appDir = system.file('app', package='viromeBrowser', mustWork=TRUE)
	runApp(appDir = appDir,
		host = host,
		port = port,
		workerId = "",
		quiet = FALSE,
		display.mode = "normal",
		test.mode = FALSE)
}
dnieuw/ViromeBrowser documentation built on Aug. 9, 2021, 12:06 p.m.