View source: R/itrax_restspectra.r
itrax_restspectra | R Documentation |
Parses a folder full of raw spectra files from an Itrax core scanner and produces a spectral graph of all the data by position
itrax_restspectra(
foldername = "XRF data",
parameters = "settings.dfl",
datapos = 37,
depthpos = 6,
plot = TRUE,
trans = "pseudo_log"
)
foldername |
defines the folder where the spectra |
parameters |
optionally, defines the Q-Spec settings file from which to calculate the channel energies |
datapos |
defines the row at which spectral data begins in the files |
depthpos |
defines the row at which depth data begins is located in the files |
plot |
TRUE/FALSE, selects whether to create a plot as a side-effect |
trans |
transformation applied in the plot - see '?ggplot2::scales_colour_gradient()' for options |
a dataframe of all the spectral data
## Not run: itrax_restspectra("~/itraxBook/CD166_19_(2020)/CD166_19_S1/CD166_19_S1/XRF data")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.