mu_add_annotations: add annotations

View source: R/lipid-up-down-plots.R

mu_add_annotationsR Documentation

add annotations

Description

Given a data.frame with 'feature_id' and 'log2FoldChange', and an annotation object with lipid classes, 'total_length', 'total_db', 'chain_length', and 'chain_db', constructs a data.frame of annotations, and prepares the log-fold-change for plotting.

Usage

mu_add_annotations(log_df, feature_annotations)

Arguments

log_df

data.frame of log-fold-changes

feature_annotations

a categoryCompare feature annotations object

Value

list


rmflight/metabolomicsUtilities documentation built on June 2, 2024, 9:53 a.m.