Spectral processing
tar_spectral_processing.Rd
Targets for spectral processing.
Usage
tar_spectral_processing(
name,
type = c("FIE-HRMS", "RP-LC-HRMS", "NP-LC-HRMS"),
...
)
Arguments
- name
Symbol. The name for the collection of targets. This serves as a prefix for target names.
- type
The type of analytical technique.
- ...
Arguments to pass to the relevant target factory. See details.
Details
Technique FIE-HRMS
will return targets using tar_spectral_binning()
.
Techniques RP-LC-HRMS
and NP-LC-HRMS
will return targets using tar_profiling()
.
Examples
if (FALSE) {
## Perform spectral processing using technique `FIE-HRMS`
targets::tar_dir({
targets::tar_script({
library(hrmtargets)
name <- rlang::expr(example)
list(
tar_input_piggyback(!!name,
'FIE-HRMS_BdistachyonTechnical',
repo = 'jasenfinch/metaboData'),
tar_spectral_processing(!!name,
type = 'FIE-HRMS')
)
})
targets::tar_make()
targets::tar_read(example_results_spectral_processing)
targets::tar_read(example_plot_fingerprint)
})
}