Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ethanbass/shinychromviewer
- Owner: ethanbass
- License: gpl-3.0
- Created: 2022-05-29T16:38:30.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-13T20:55:00.000Z (about 2 years ago)
- Last Synced: 2024-01-27T06:10:03.846Z (about 1 year ago)
- Topics: chromatography, hplc, hplc-dad, hplc-uv, open-data, open-science, r-package, rstats, shiny, shiny-apps
- Language: R
- Homepage:
- Size: 412 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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*).