metabolite_origin_upsetplot: Create an upset plot of metabolite origins

metabolite_origin_upsetplotR Documentation

Create an upset plot of metabolite origins

Description

Generates an upset plot showing the intersections of metabolites from different sources (human, bacteria, plant, animal, etc.).

Usage

metabolite_origin_upsetplot(object, min_size = 1, counts = TRUE)

Arguments

object

A mass_dataset object containing metabolite annotation data

min_size

Integer specifying the minimum size of a set to be included in the plot (default: 1)

counts

Logical specifying whether to show counts in the plot (default: TRUE)

Value

A ggplot2 object representing the upset plot

Author(s)

Xiaotao Shen xiaotao.shen@outlook.com


tidymass/metid documentation built on June 1, 2025, 10:04 p.m.