Processes a vector of KOs, applying different handling methods depending on whether they contain commas or not. Useful for processing complex pathway definitions with alternative KOs.
process_module_loop_comma(
KO_vector,
module_abundance,
process_step_comma,
process_step_direct,
aggregrate_rowname = "step_1",
step_count = 1,
comma_scale_method
)List containing: - abundance_table: Processed abundance Data frame - step_count: Updated step counter - abundance_log: log
Character vector of KO identifiers to process
Data frame containing KO abundance data
Function to handle comma-separated KOs (alternative forms)
Function to handle individual KOs
Base name for row aggregation (default: 'step_1')
Counter for processing steps (default: 1)
Scaling method for comma-separated KOs ("sum" or "max")