loadISEdata | R Documentation |
Loads tab-delimited calibration and (if it exists) experimental sample data.
loadISEdata(filename.calibration, filename.experimental = NA)
filename.calibration |
The name and location of the tab-delimited calibration file |
filename.experimental |
The experimental file (if there is one, otherwise keep the default filename.experimental=NA) should have one of the following structures: |
Internally calls 'ISEdata.calibration' if there is no experimental data.
loadISEdata returns the following values in a list of class ISEdata:
Calibration variables:
N |
Total number of calibration measurements (e.g. for 5 calibration points measured with 3 ISEs, N = 15) |
R |
Number of ISEs |
ISEID |
Identifier for the ISE |
log10x |
log concentration (mol/l) of calibration data |
emf |
emf (mV) for calibration data |
Experimental variables:
M |
Number of experimental samples |
M.obs |
Total number of experimental measurements. E.g. for 4 samples each measured by 3 ISEs, M.obs = 12. Only returned if R > 1 |
ISEID.exp |
Identifier for the ISE for the experimental data (returned if R >1) |
x.exp |
Identifier for the experimental (returned if R > 1) |
Basic format only:
emf.exp |
emf (mV) for experimental data |
Standard addition format only:
delta.emf |
difference between emf1 and emf2 (mV) for experimental data |
V.s |
Sample volume (any units allowed but must be consistent) |
V.add |
Volume added to the sample |
conc.add |
Concentration added. |
Summary variables of calibration and experimental data:
calibration.only |
Indicates whether there was only calibration data (TRUE) or calibration and experimental data (FALSE) |
stdadd |
Indicates whether standard addition was used. Returns NA (calibration data only), FALSE (basic experimental data), or TRUE (standard addition experimental data) |
data.calib |
The loaded calibration data frame |
data.exp |
The loaded experimental data frame |
Peter Dillingham peter.dillingham@otago.ac.nz
### # Loading the example tab-delimited text files for the lead data ### # 1. Find pathnames for the lead example txt files: path.calib = paste(path.package('ISEtools'), "/extdata", "/Lead_calibration.txt", sep="") path.basic = paste(path.package('ISEtools'), "/extdata", "/Lead_experimentalBasic.txt", sep="") path.sa = paste(path.package('ISEtools'), "/extdata", "/Lead_experimentalSA.txt", sep="") # Load the calibration data lead.example1 = loadISEdata(filename.calibration = path.calib) print(lead.example1) # ... and with experimental data, Basic format lead.example2 = loadISEdata(filename.calibration = path.calib, filename.experimental = path.basic) print(lead.example2) # ... and with experimental data, Standard Addition format lead.example3 = loadISEdata(filename.calibration = path.calib, filename.experimental = path.sa) print(lead.example3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.