Import .csv into R with hyperSpec. Perform rubberband baseline correction (degree=3, 50 iterations). Normalize by amide I band area (if protein) or total area.
Use ChemoSpec’s c_pca function. Visualize scores colored by oil type. Export loading plots to identify discriminant wavenumbers (~1745 cm⁻¹ for esters, ~3009 cm⁻¹ for cis double bonds). free software for ftir analysis
Generate overlay spectra with error envelopes (mean ± SD) using ggplot2 . Save as vector PDF. Import