Learn R Programming

BiOFI (version 0.1.0)

Meta2pathway: Meta2pathway

Description

A function is used to predict the metabolic functional pathways according to the abundance of metabolites based on the algorithm Pathway Activity Profiling (PAPi). Note: Please use compound IDs in KEGG database to replace the names of metabolites. For example, C00002 means ATP or Adenosine 5'-triphosphate in KEGG. Users also can use Metaboanalyst (https://www.metaboanalyst.ca/MetaboAnalyst/upload/ConvertView.xhtml)(Pang, et al., 2022) to convert the metabolites names to compound IDs. If metabolites do not have compound IDs, keep the original names. See data example "Meta2pathway.eg" for details.

Usage

Meta2pathway(metadf)

Value

meta2path_res A data frame containing metabolites with compound ID and predicted KEGG pathways.

Arguments

metadf

A data frame including metabolites with compound ID and abundance.

Examples

Run this code
Meta2pathway_res <- Meta2pathway(metadf = Meta2pathway.eg)

Run the code above in your browser using DataLab