Description Usage Arguments Value Examples
View source: R/extract_concentrations.R
Combine results of the multiple file ASICS function to obtain quantified relative concentrations of metabolites for each spectrum in one dataset
1 | extract_concentrations(res_ASICS)
|
res_ASICS |
result of the |
A data frame containing relative concentrations of identified metabolites for each spectrum
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
cur_path <- system.file("extdata", "example_spectra", package = "ASICS")
to_exclude <- matrix(c(4.5,5.1,5.5,6.5), ncol = 2, byrow = TRUE)
res_multi <- ASICS_multiFiles(name.dir = cur_path,
exclusion.areas = to_exclude,
ncores = 2)
# extract relative concentrations
quantification <- extract_concentrations(res_multi)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.