source_network: Create a network visualization for metabolites from a...

source_networkR Documentation

Create a network visualization for metabolites from a specific source

Description

Generates a network visualization showing metabolites originating from a specified source category (e.g., Human, Bacteria, Plant).

Usage

source_network(object, source_id, top_specific_source = 5)

Arguments

object

A mass_dataset object containing metabolite annotation data

source_id

Character vector of source categories to include (e.g., "Human", "Bacteria", "Plant")

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.