The eDNA Explorer is a visualization application for environmental DNA (eDNA), using the R package shiny, based on counts of Operational Taxonomic Units (OTUs).

shiny.marinebon.app/edna-vis

Status

As of 2024-09-24, this app is alpha, ie in active development, at only 367 lines of code (see source app.R).

Accessing the App

Local

To run the app locally on your machine, you need to have the following installed:

  • R statistical programming platform,
  • R packages required by the app. To install an R package like “shiny”, simply run install.packages('shiny').

Then you can run the following single line to download and run locally on your machine:

shiny::runGitHub('marinebon/edna-vis', subdir='shiny')

Interface

Filter

Applying filters in the sidebar, updates the Charts (and eventually Tree) accordingly:

  • Taxa. Select rank, then available values to filter by taxa. Choosing one taxa allows you to see count of OTUs.
  • Sites. Click on box button in upper left to limit range.
  • Date. Drag slider to define date range to display.

You can slide the filter panel in and out of view with the sidebar toggle button .

Tabs

Charts

The map, plot and table update based on the applied filters. If you choose more than one taxa, then the plot switches from summarizing by site to summarizing by taxa.

  • Map. Summarizes across all sampling dates. Zoom (+/- or mouse scroll) or pan (click, hold and move) in map. Rollover to get site name. Click on site to get OTUs popup.
  • Plot. Summarizes across sites by time. Click on legend labels to turn on/off individual lines.
  • Table. Provides individual rows of data by taxa, site and date, sortable by any column, including OTUs.

Tree

The tree view is meant to show the count of OTUs by taxa, but does not yet have the filter applied.

Notes

Preparation

See prep on manipulations to go from original OTU_table_taxa_all.txt to the otu.csv used in this visualization.