Processes a vector of KOs, applying different handling methods depending on whether they contain plus signs or not. Handles pathway definitions with required components (plus-separated KOs representing complex subunits).
process_module_loop_plus(
KO_vector,
module_abundance,
process_step_plus,
process_step_direct,
aggregrate_rowname = "step_1",
step_count = 1,
plus_scale_method
)List containing: - abundance_table: Processed abundance values - step_count: Updated step counter - abundance_log: log
Character vector of KO identifiers to process
Data frame containing KO abundance data
Function to handle plus-separated KOs (required components)
Function to handle individual KOs
Base name for row aggregation (default: 'step_1')
Counter for processing steps (default: 1)
Scaling method for plus-separated KOs ("mean", "min", or "max")