Learn R Programming

mclink (version 1.1.1)

process_all_pathways: Process All Pathways Analysis

Description

Processes module sample data across all pathways with specified scaling methods. Handles different comparison methods and outputs results by pathway.

Usage

process_all_pathways(
  pathway_infor,
  Module_Sample,
  out_DIR_Module_Sample_by_pathway,
  compare_method = c("log", "avg", "round"),
  plus_scale_method,
  comma_scale_method
)

Value

Main outputs are written to: - Combined module file (All_modules.*.tsv) - Pathway-specific files (via create_sub_module_sample)

Arguments

pathway_infor

Data frame containing pathway information, see examples.

Module_Sample

Data frame of module sample data to process

out_DIR_Module_Sample_by_pathway

Output directory for pathway-specific results

compare_method

Comparison method to use: "log" (log10 transform), "avg" (average calculation), or "round" (simple rounding)

plus_scale_method

Scaling method for plus-separated KOs ("mean", "min", or "max")

comma_scale_method

Scaling method for comma-separated KOs ("sum" or "max")