runDARLEQ: Run DARLEQ3 as an interactive shiny app

View source: R/darleq3_shiny.R

runDARLEQR Documentation

Run DARLEQ3 as an interactive shiny app

Description

Run DARLEQ3 as an interactive shiny app

Usage

runDARLEQ(browser = TRUE)

Arguments

browser

Logical to indicate if the app should open in an external browser (the default) or in R/RStudio's default shiny app window.

Details

runDARLEQ runs darleq3 as an interactive shiny app. When running the function will open a web browser displaying the shiny app:

To use the app follow these simple steps:

  • 1: Click the Browse... button to select and upload a DARLEQ diatom file (see function read_DARLEQ for guidelines on how to format this file).

  • 2: Once uploaded, select a sheet and click import. A summary (number of samples & taxa) will be displayed in the Data summary box when upload is complete.

  • 3: Select the metric type. "TDI3 & 4 for LM" will calculate TDI3 and TDI4 for river samples according to the DARLEQ 2 taxon list, TDI5LM will calculate TDI5 for river LM diatom data, TDI for NGS will calculate TDI5NGS for river NGS diatom data, "LTDI for LM" will calculate LTDI1 and LTDI2 for lake LM data, and "DAM for LM" will calculate the diatom acidification metric for river LM data. A summary of results will appear in the Results summary box when the calculations are complete.

  • 4: Click Download Results to save the results in an Excel file. The default name for this file will be the "DARLEQ3_Results_" concatenated with the original data filename, worksheet name, and date.

To quit the app simple close the browser and or hit Escape in the RStudio Console window.

Examples

## Not run: 
library(darleq3)
runDARLEQ()

## End(Not run)


nsj3/darleq3 documentation built on Oct. 11, 2023, 4:37 a.m.