View source: R/itrax_spectra.R
itrax_spectra | R Documentation |
Sometimes it is helpful to read an individual spectral file for diagnostics
itrax_spectra(filename, parameters = "settings.dfl", plot = TRUE, datapos = 37)
filename |
defines the name of the *.spe datafile from the core scanner to parse |
parameters |
optionally defines a relevant Q-Spec settings file in order to compute the energy scale, otherwise channel numbers are reported |
plot |
logical, if TRUE a side-plot is created |
datapos |
defines the row at which spectral data begins in the files |
a tibble of the parsed data
itrax_spectra(filename = system.file("extdata",
"L000676.spe",
package = "itraxR",
mustWork = TRUE),
parameters = system.file("extdata",
"Results_settings.dfl",
package = "itraxR",
mustWork = TRUE)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.