-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGerminaQuant.R
More file actions
35 lines (28 loc) · 1.22 KB
/
Copy pathGerminaQuant.R
File metadata and controls
35 lines (28 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#' GerminaQuant for R
#'
#' GermiQuant for R app allows make the calculation for the germination indices
#' incredibly easy in a interactive applications build in base a GerminaR R
#' package and Shiny. GermiQuant app is live!. Outputs change instantly as users
#' modify inputs, without requiring a reload the app. The principal features of
#' the application allow calculate the principal germination indices,
#' statistical analysis and easy way to plot the results.
#'
#' @param dependencies Install package dependencies for run the app
#'
#' @source Lozano-Isla, F., Benites Alfaro, O., & Pompelli, M. F. (2016).
#' GerminaQuant for R (Patent No. BR 51 2016 001327-3).
#' https://flavjack.shinyapps.io/germinaquant/
#'
#' @family GerminaR
#' @importFrom shiny runApp
#' @export
GerminaQuant <- function(dependencies = FALSE) {
if (dependencies == TRUE ) {
source("https://raw.githubusercontent.com/Flavjack/GerminaR/master/inst/GerminaQuant/setup.R")
}
appDir <- system.file("GerminaQuant", package = "GerminaR")
if (appDir == "") {
stop("Could not find example directory. Try re-installing `GerminaR`.", call. = FALSE)
}
shiny::runApp(appDir, display.mode = "normal", launch.browser = TRUE)
}