melonnpan.summarize: Summarize MelonnPan results

View source: R/melonnpan_summarize.R

melonnpan.summarizeR Documentation

Summarize MelonnPan results

Description

This function returns prediction accuracy from a pair of measured and predicted metabolites tables.

Usage

melonnpan.summarize(
  metab = metab,
  pred = pred,
  method = method,
  correction = correction,
  cutoff = cutoff
)

Arguments

metab

Measured metabolite relative abundances (normalized). Should have same features and samples as pred.

pred

Predicted metabolite relative abundances (normalized). Should have same features and samples as metab.

method

Method to correlate measured and predicted metabolites. Default is 'spearman'.

correction

Multiplicity adjustment method, same as 'p.adjust'. Default is 'fdr'.

cutoff

Q-value threshold for significant prediction. Default is 0.05.


biobakery/melonnpan documentation built on March 26, 2024, 11:42 p.m.