The data reduction proceeded by the elementR package is organized in a session framework including five main steps (indicate on the left side bar of the opened page of the web browser):
The data reduction proceeded by the elementR package is organized in a session framework including five main steps (indicate on the left side bar of the opened page of the web browser):
For more details on the procedure, see the documentation.
Note that these steps have to be carried out in the order mentioned above, the third step, for instance, being not available until the first and second one are validated.
The left side bar allows to navigate between these steps and to know exactly which part of the procedure is currently running, validates or remains to complete.
The two last tabs “Configuration”and “Source code for app” are not part of the data reduction procedure but bring additional information detailed later in this document.
A set of data from standard analysis (at least one). elementR is compatible with all standard types (NIST 612, NIST 610, MACS…). However, standards of a single session must have all the same type (that is the reason we call them standard replicates and that they are stored in a same folder).
A calibration file providing for each investigated chemical element: \[Calib_X = \frac{[X]_{calibType}}{[InternStandard]_{calibType}}\] where:
\(Calib_X\) is the value to include in the calibration file for the chemical element X
\([X]_{calibType}\) is the concentration of the chemical element X contained in the calibration material
\([InternStandard]_{calibType}\) is the concentration of the internal standard element contained in the calibration material
A set of data from sample analysis (at least one, obviously :D). Sample may have one or more replicates, these replicates being averaged in the last step.
The format of data compatible with the elementR application are those from worksheet from Excel (.xls, .xlsx), LibreOffice (.ods) or text (.csv).
For the text format, the separator used by default is the semi-colon. However, you can change this parameter before uploading your project in the configuration tab.
For any format (except for text format), the decimal has to be indicated by a point (for text format, you can however customize the decimal in the configuration tab before uploading your project).
For Excel format, elementR reads the first worksheet of the file. For OpenOffice format, you have to indicate to elementR the sheet to import by calling the sheet to import “data”.
Sample and standard data must be all organized in the same way (fig.1):
In column 1, the time of successive analysis.
In the following columns, the chemical elements with element names as column heads.
All data must contain the same chemical elements in the same order.
Data must contain only numerical characters (except for the names of the columns).
When you upload your data, elementR checks the validity of these points and indicates the problem if any.
Some compatible format of all kind of data are provided with the elementR package, take a look ! (in the folder where R packages are installed, reach the elementR folder and look at the “Example_Session”, you will find the files).
The data must be organized in a session framework (Fig. 3):
All file corresponding to standard replicates must be included in the same folder called “standards” (= batch of standard replicates).
All samples must be included in the same folder called “samples”.
All sample replicates of the same sample (even if there is only a single replicate) must be included in a folder with the name of the considered sample (= a batch of sample replicates).
The “standards” and the “samples” sub-folders have to be included in a folder called with the name of the project.
In any case when you upload your data, elementR checks the validity of these points and indicates the problem if any.
A compatible format of session is provided with the elementR package, have a look ! (in the folder where R packages are installed, reach the elementR folder1 and look at the “Example_Session” organization).