Learn R Programming

mclink (version 1.1.1)

read_and_process_pathway_infor: Read and process Pathway information dataframe

Description

This function reads a tab-delimited file containing KEGG pathway information, performs data validation and cleaning, and returns a processed data frame.

Usage

read_and_process_pathway_infor(in_KO_pathway_ref)

Value

A list with log and a data frame containing the processed pathway information after removing empty/NA entries. The data frame will have the same columns as the input file. Returns NULL if the file cannot be read.

Arguments

in_KO_pathway_ref

Character string specifying the path to the input file. The file should be a tab-delimited text file containing KEGG pathway information, with a header row and at least one column named "Module_Entry".