This function reads a KO sample table (wide format), validates its contents against pathway information, and returns a filtered table containing only KOs present in both datasets.
read_and_process_KO_table(in_KO_Sample_wide, pathway_infor)A list with log and a data frame.The data frame contains the filtered sample data, with only rows that match KOs in the pathway information. Includes an added 'Orthology_Entry' column containing the row names.
Character string specifying the path to the input KO sample table file. Should be a tab-delimited file with KO identifiers as row names.
Data frame containing pathway information, see examples.