make_pairwise_met_matrix: Make a data vector into a pairwise difference matrix (can be...

View source: R/core_functions.R

make_pairwise_met_matrixR Documentation

Make a data vector into a pairwise difference matrix (can be used for either cmp scores or metabolite concentrations)

Description

Make a data vector into a pairwise difference matrix (can be used for either cmp scores or metabolite concentrations)

Usage

make_pairwise_met_matrix(metabolite, met_mat, diff_function = "difference")

Arguments

metabolite

metabolite ID

met_mat

Abundances or scores for that metabolite across samples

diff_function

Difference by default, could be fold_change

Value

Data.frame of score or abundance pairwise differentials


borenstein-lab/mimosa2 documentation built on Dec. 19, 2024, 12:44 a.m.