Rsimetti / MVC1_R

Webapp for doing first order multivariate calibration on NIR spectroscopic data.

Home Page:http://atmunr.shinyapps.io/MVC1_R

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MVC1_R

MVC1_R provides a clean and intuitive interface for performing first order multivariate calibration on NIR spectroscopic data.

It's written as a web app in R shiny and free under the MIT License. You can install on R shiny server or try it here first.

Contents

Overview

The process of analysis is divided into four sections which must be completed from left to right. Each tab provides a list of options to choose from, after which you should click on the Apply changes button on the bottom to update the state of the program.

The changes applied can be viewed on the right, and you can choose to view a plot of the data or the raw numbers in a table.

alt text

Input data: providing input, selecting sensors and removing samples

The input files are expected to be in a column-wise format, top-to-bottom and left-to-right. The sample spectra should be columns of values, the leftmost column being from the first sample. The sample concentrations should be arranged as a column of values, the topmost value being from the first sample.

Selecting sensors

A subset of the sensors from the spectra can be selected, written as a list of pairs of numbers, representing the (closed) intervals of sensors to be kept. Input must consist of only integers, without commas or brackets. For example, the values 1 5 10 15 would select the sensors from the ranges [1;5] and [10;15]. alt text

Removing samples

The input format is the same as when selecting sensors, you can remove samples by providing value ranges.

Digital preprocessing: processing the data before analysis

Methods of digital preprocessing can be selected by ticking the checkboxes. (Remember to click on Apply changes!) alt text

Validation and predictions: performing first order analysis

Here, you can choose a maximum number of latent variables and perform cross-validation. This will compute the PRESS error, the F statistic and it's associated probability, for each number of latent variables from 1 to the upper limit.

The optimum number of latent variables thing will display the first amount of latent variables for which the associated probability is less than 0.75 (this is based on empirical results by Thomas and Haaland, 1988). alt text

And on the bottom you can choose a number of latent variables to produce regression coefficients and predict the analyte concentrations from the validation data set. alt text

Statstics: errors of prediction and insights on model accuracy

Finally, in this section the RMSEP (Root Mean Square Error of Prediction) and REP (Relative Error of Prediction are shown). You can also see a linear fit plot of the predicted and nominal concentrations, and the error of prediction for each individual sample. alt text

About

Webapp for doing first order multivariate calibration on NIR spectroscopic data.

http://atmunr.shinyapps.io/MVC1_R

License:MIT License


Languages

Language:R 69.8%Language:TeX 30.0%Language:Shell 0.3%