Functions to Handle and Preprocess Infrared Spectra
Bins infrared spectra
Clips infrared spectra to new wavenumber ranges
Extracts intensities from spectra in an ir
object for specific spect...
Extracts selected spectra from an object of class ir
Interpolates intensity values of infrared spectra in an ir
object fo...
Scales spectra in an ir
object
ir: Functions to Handle and Preprocess Infrared Spectra
Mutating joins for an ir
object
Group input ir
objects by rows
Subset columns in ir
objects using column names and types
Separate a collapsed column in an ir
object into multiple rows
Arrange rows in ir
objects by column values
Bind rows of ir
objects
Subset distinct/unique rows in ir
objects
Extract a character column in an ir
object into multiple columns usi...
Filtering joins for an ir
object
Subset rows in ir
objects using column values
Group rows in ir
objects by one or more variables
Add infrared spectra
Converts an object to class ir
Averages infrared spectra within groups
Performs baseline correction on infrared spectra using a polynomial
Performs baseline correction on infrared spectra using a rubberband al...
Performs baseline correction on infrared spectra using a Savitzky-Gola...
Performs baseline correction on infrared spectra
Corrects artifacts in a spectrum based on reference spectra of the art...
Divide infrared spectra or divide infrared spectra by a numeric value
Drops the column spectra
from an object is of class ir
Prepares ir
objects for export to csv
Cleans objects of class ir_flat
Converts objects of class ir
to objects of class ir_flat
Gets the index of a defined wavenumber value for a spectrum
Identifies empty spectra in an ir
object
Imports infrared spectra from various files
Imports infrared spectra from Thermo Galactic's files
Interpolates selected regions in infrared spectra in an ir
object
Replicate ir objects
Multiply infrared spectra or multiply infrared spectra with a numeric ...
Creates an object of class ir_flat
Creates an object of class ir
Normalizes infrared spectra in an ir
object
Removes empty data values in an object of class ir
Wrapper to sampling functions from the 'prospectr' package
Smooths infrared spectra in an ir
object
Stacks a matrix or data frame with spectra into a list column
Subtract infrared spectra
Converts absorbance spectra to transmittance spectra or vice versa
Computes the variance of a spectrum in an ir
object in a given regio...
Mutate an ir
object by adding new or replacing existing columns
Nest and un-nest an ir
object
Arithmetic operations for ir
objects
Pipe operator
Pivot an ir
object from wide to long
Pivot an ir
object from wide to long
Plots an object of class ir
Get the minima/maxima/range/median of x axis values or intensity value...
Rename columns in ir
objects
Separate a character column in an ir
object into multiple columns wi...
Subset rows in ir
objects using their positions
Subsetting ir
objects
Summarize each group in a ir
object to fewer rows
Unite multiple columns in an ir
object into one by pasting strings t...
Functions to import and handle infrared spectra (import from '.csv' and Thermo Galactic's '.spc', baseline correction, binning, clipping, interpolating, smoothing, averaging, adding, subtracting, dividing, multiplying, atmospheric correction, 'tidyverse' methods, plotting).
Useful links