Learn R Programming

mseapca (version 2.2.1)

fasting_mseapca: Metabolome data from a fasting mouse study

Description

Example data derived from a fasting mouse liver metabolomics study, originally published by Yamamoto et al. and distributed in the loadings package as fasting. This version is reformatted and annotated to reproduce the analysis setup used in MetaboAnalyst. It is intended for demonstrating ORA and MSEA functions in the mseapca package.

Usage

data(fasting_mseapca)

Arguments

Format

A named list with the following components:

SIG

Character vector of significant metabolites (e.g., \(p < 0.05\)).

DET

Character vector of all detected metabolites.

pathway

Named list of metabolite sets (pathways). Each element is a character vector of metabolite IDs belonging to that pathway.

Details

The dataset is intended for vignette examples:

  • SIG — Significant metabolites (\(p < 0.05\)) obtained from statistical analysis of a fasting vs control comparison.

  • DET — Background list of all detected metabolites.

  • pathway — Pathway definitions from MetaboAnalyst, reused for mouse data.

The object can be used directly with functions such as msea_ora, ora_det, and ora_bino.

Examples

Run this code
## Load data
data(fasting_mseapca)

SIG <- fasting_mseapca$SIG
DET <- fasting_mseapca$DET
M   <- fasting_mseapca$pathway

## Simple ORA on detected metabolites
res <- ora_det(SIG, DET, M)
head(res$`Result of MSEA(ORA)`)

Run the code above in your browser using DataLab