R6 class representing ProlfquApp configuration
R6 class representing ProlfquApp configuration
See also
Other ProlfquAppConfig:
ExternalReader,
ProcessingOptions,
ProjectSpec,
make_DEA_config_R6(),
set_list_to_R6()
Public fields
processing_optionsProcessingOption R6 class
project_specProject Spec R6 class
softwarename of input software
prefixeither QC or DEA
zipdir_nameresults should go to zipdir_name
pathpath to working directory
popoptional processing options
RESresults
groupgroup prefix
ext_readerexternal reader configuration
Methods
Method new()
Initialize ProlfquAppConfig with processing options, project spec, and external reader
Usage
ProlfquAppConfig$new(
processing_options,
project_spec,
ext_reader,
zipdir_name = ".",
path = ".",
software = "DIANN",
prefix = "DEA"
)Examples
r6obj_config <- ProlfquAppConfig$new(
ProcessingOptions$new(),
ProjectSpec$new(),
ExternalReader$new()
)
xx <- prolfqua::R6_extract_values(r6obj_config)
yaml::write_yaml(xx, file = file.path(tempdir(), "test.yaml"))
config <- yaml::read_yaml(file = file.path(tempdir(), "test.yaml"))
r6obj_config$set_zipdir_name()
#> [1] "DEA_20260225_vsn"
r6obj_config$get_zipdir()
#> [1] "./DEA_20260225_vsn"
r6obj_config$get_result_dir()
#> [1] "./DEA_20260225_vsn/Results_WU_"
r6obj_config$get_input_dir()
#> [1] "./DEA_20260225_vsn/Inputs_WU_"