EA.NACHO | R Documentation |
This function is used to decompose and finalize EA data from solid samples analyzed on the Delta V irMS systems (NACHO). The function writes a .csv with the thinned raw data and a .pdf with all relevant information about the analysis. The finalized sample data are also returned as a dataframe.
The input data file has strict formatting and data requirements. Each sample or standard should have four rows of data: two for N and two for C. Deviations from this is will result in the function failing. Blanks and zeros are an exception and can have only two rows. The follow columns must be present in the input data file for the function to work.
Row number for the IsoDat sequence file.
Unique number assigned by IsoDat for each analysis.
Unique identifier for each sample or standard in the file. If two runs are combined, be sure this field remains unique. Character.
Identifies whether the particular analysis is a 'STD', 'QTY', 'SAMPLE', 'BLANK', 'ZERO', or 'DUMMY'. These are the only vaild options for this field. Character.
Mass of SAMPLE, STANDARD, QTY, or DUMMY in miligrams (mg). BLANK and ZERO can be 0.0 or blank. Numeric.
Flag that identifies wheter this line line is for a reference gas peak (==1) or not (==0). Numeric.
Peak area for mass 28 in Vs. Numeric.
Ratio of 15N to 14N in delta units relative to the reference gas (i.e., N2 tank). Numeric.
Peak area for mass 44 in Vs. Numeric.
Ratio of 13C to 12C in delta units relative to the reference gas (i.e., CO2 tank). Numeric.
The remaining columns should be unchanged from what is created by IsoDat. There should be a total of 49 columns of data in the raw data file. Column names will be modified when imported by the function.
EA.NACHO(data.files, return.mass.percent.CN = T)
data.files |
Character vector that contains raw data file names with file path. If length is >1, then all the files will be combined and analyzed together using a single, combined calibration curve. |
return.mass.percent.CN |
Boolean to indicate whether sample mass data should be return as mass C or N as a percent of total sample mass. If FALSE, returned values are total mass of C or N in the sample. |
Dataframe of data for each unknown sample that includes following finalized values (i.e., what you want...):
13C:12C of bulk carbon in the sample in delta notation with units of per mil relatve to Vienna Pee Dee Belemite.
15N:14N of bulk nitrogen in the sample in delta notation with units of per mil relatve to atmospheric air.
Percent carbon in the sample on a mass basis.
Percent nitrogen in the sample on a mass basis.
Gordon W. Holtgrieve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.