Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ethanbass/shinychromviewer

Shiny gadget for interactively viewing 3D chromatograms
https://github.com/ethanbass/shinychromviewer

chromatography hplc hplc-dad hplc-uv open-data open-science r-package rstats shiny shiny-apps

Last synced: about 1 month ago
JSON representation

Shiny gadget for interactively viewing 3D chromatograms

Awesome Lists containing this project

README

        

# ShinyChromViewer

[![ShinyChromViewer status badge](https://ethanbass.r-universe.dev/badges/ShinyChromViewer)](https://ethanbass.r-universe.dev)
[![stability-experimental](https://img.shields.io/badge/stability-experimental-orange.svg)](https://github.com/emersion/stability-badges#experimental)

## Overview

ShinyChromViewer is an Shiny gadget for interactive viewing and exploration of 3D chromatographic data (e.g. from HPLC-DAD). It is mainly meant to be used in conjunction with [chromatographR](https://ethanbass.github.io/chromatographR) as an add-on.

## Installation

ShinyChromViewer can be installed from GitHub as follows:

```
install.packages("devtools")
devtools::install_github("https://github.com/ethanbass/ShinyChromViewer/")
```

Or install directly from my R Universe repo:

```
install.packages("ShinyChromViewer", repos="https://ethanbass.r-universe.dev/", type="source")
```

## Usage

To run ShinyChromConverter you must provide a list of chromatograms in `matrix` format. In addition, you can provide a `peak_table` object produced by [chromatographR](https://ethanbass.github.io/chromatographR). The script below loads the example data from chromatographR and launches the `chrom_viewer`.

```
library(chromatographR)
library(ShinyChromViewer)
data(Sa_warp)
data(pk_tab)
chrom_viewer(pk_tab)
```

To view spectra, click on the trace plot (*lower left panel*) or the peak table (*right panel*).