metabolite_origin_network: Create a network visualization for specific metabolites and...

metabolite_origin_networkR Documentation

Create a network visualization for specific metabolites and their origins

Description

Generates a detailed network visualization for selected metabolites, showing their connections to source categories and specific sources within those categories.

Usage

metabolite_origin_network(object, metabolite_id, top_specific_source = 5)

Arguments

object

A mass_dataset object containing metabolite annotation data

metabolite_id

Character vector of metabolite IDs to include in the network

top_specific_source

Integer specifying the maximum number of specific sources to show per source category (default: 5)

Value

A ggplot2 object representing the network visualization

Author(s)

Xiaotao Shen xiaotao.shen@outlook.com


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