add_metadata_to_metabolite_summary: Do basic enrichment testing of between-group metabolite...

View source: R/postProcessing.R

add_metadata_to_metabolite_summaryR Documentation

Do basic enrichment testing of between-group metabolite differences and add results to the MIMOSA summary table

Description

Do basic enrichment testing of between-group metabolite differences and add results to the MIMOSA summary table

Usage

add_metadata_to_metabolite_summary(node_data, mets, metadata, metadata_var)

Arguments

node_data

Table from "_nodes.txt" file produced by runMimosa.R

mets

Table of metabolite abundance data

metadata

Table of samples and their grouping by a binary variable

metadata_var

Column name in metadata table for the binary grouping variable to be used for testing

Value

Processed table including columns describing binary enrichment status and difference in mean add_metadata_to_metabolite_summary(node_data, mets, metadata, "DiseaseStatus")


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