read_bigg_universal_metabolite: Read BiGG Universal Metabolite Data

read_bigg_universal_metaboliteR Documentation

Read BiGG Universal Metabolite Data

Description

This function reads the saved BiGG universal metabolite database from the specified directory and returns it as a combined data frame.

Usage

read_bigg_universal_metabolite(path = ".")

Arguments

path

A string specifying the directory where the BiGG database is located. Defaults to the current directory ('"."').

Details

The function loads the previously saved 'bigg_universal_metabolit_database' file from the provided directory. It uses a progress bar to indicate the loading progress and combines individual metabolite data into a single data frame using 'dplyr::bind_rows()'. The final data frame is returned to the user.

Value

A data frame containing all the metabolites from the BiGG universal database.

Examples

## Not run: 
# Read the BiGG database from the current directory
metabolites <- read_bigg_universal_metabolite()

# Read the BiGG database from a custom directory
metabolites <- read_bigg_universal_metabolite(path = "data")

## End(Not run)


tidymass/massdatabase documentation built on Oct. 18, 2024, 3:56 p.m.