Processes KO abundance data to group by metabolic modules, converting presence/absence data into module-level KO lists. Handles missing KOs and maintains sample-specific KO profiles.
group_ko_by_module(pathway_infor, Sample_KO_abundance)A data frame where: - Rows are module names - Columns are samples - Cell values are space-separated lists of present KOs - Empty strings for modules with no detected KOs
Data frame containing pathway information, see examples.
Data frame of KO abundances with: - Rows as KO identifiers - Columns as samples - Orthology_Entry column