Learn R Programming

mclink (version 1.1.1)

process_module_structure: Process Module Structure Data

Description

Filters and merges pathway information with sample KO data for a specific module. Returns a merged dataframe containing KO abundance data and pathway definitions.

Usage

process_module_structure(pathway_infor, Sample_KO, module)

Value

A merged dataframe containing: - KO abundance data for the specified module - Corresponding pathway information - Empty dataframe if no matching KOs found

Arguments

pathway_infor

Data frame containing pathway information, see examples.

Sample_KO

Dataframe containing KO abundance data with KO IDs as row names

module

Character string of the module ID to process (e.g. "M00563")