Learn R Programming

chromatographR

Overview

chromatographR is a package for the reproducible analysis of HPLC-DAD chromatographic data in R. It can also be used to analyze other "simple" chromatographic data like GC-FID, HPLC-UV, or HPLC-FD.

Installation

chromatographR can now be installed from CRAN:

install.packages("chromatographR")

You can also install the latest development version of chromatographR from GitHub using the devtools package:

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

To build the vignette, include the argument build_vignettes=TRUE (Note: this will take considerably longer than building the package without the vignette).

Usage

Importing data

chromatographR can now import ChemStation and MassHunter files directly (using the Aston or Entab parsers wrapped by chromConverter) as well as regular csv and ascii files.

Analysis

Please see the vignette included with the package for details on the application of chromatographR for the analysis of HPLC data. A second vignette with a suggested workflow for the analysis of GC-FID data will be forthcoming soon.

Contributing

Contributions to the package are very welcome. Please get in touch (preferable by opening a GitHub issue) to discuss any suggestions or to file a bug report. Some good reasons to file an issue:

  • You found an actual bug.
  • You're getting a cryptic error message that you don't understand.
  • You have a file format you'd like to read that isn't currently supported by chromatographR. (If you do this, please make sure to include a link to an example file!)
  • You have a new feature you'd like to see implemented.

Citation:

If you use chromatographR in published work, please cite it as follows:

Bass, E. (2022). chromatographR: chromatographic data analysis toolset (version 0.4.4). https://cran.r-project.org/package=chromatographR/

Copy Link

Version

Install

install.packages('chromatographR')

Monthly Downloads

40

Version

0.4.4

License

GPL (>= 2)

Maintainer

Ethan Bass

Last Published

August 24th, 2022

Functions in chromatographR (0.4.4)

normalize_data

Normalize peak table or chromatograms
find_peaks

Find peaks in chromatographic profile
mirror_plot

Make mirror plot from peak table.
filter_peaks

Filter peak lists
get_peaktable

Convert peak list into an ordered peak table.
fit_peaks

Fit chromatographic peaks to an exponential-gaussian hybrid or gaussian profile
load_chroms

Import chromatograms.
get_peaks

Get peak list.
pk_tab

Goldenrod peak table
filter_peaktable

Filter peak table
read_chroms

Read chromatograms.
plot.peak_table

Plot spectrum from peak table
plot.peak_list

Plot fitted peak shapes.
preprocess

Preprocess time/wavelength data
plot_all_spectra

Plot all spectra for chosen peak.
scan_chrom

Scan spectrum
plot_spectrum

Plot spectrum from peak table
attach_metadata

Attach experimental metadata
Sa_pr

HPLC-DAD data of goldenrod root extracts.
Sa_warp

HPLC-DAD data of goldenrod root extracts.
Sa

HPLC-DAD data of goldenrod root extracts.
cluster_spectra

Cluster peaks by spectral similarity.
combine_peaks

Combine peaks in peak table
correct_rt

Correct retention time
correct_peaks

Correct peak positions according to a ptw warping model
attach_ref_spectra

Attach reference spectra
chromatographR-package

chromatographR