Skip to contents

process_flux() is a wrapper to BirdFlowR::calc_flux() that handles reading the input model and writing the resulting flux to disk.

Usage

process_flux(model_path, flux_path)

Arguments

model_path

Path to a BirdFlow model file, either an HDF5 to be read with BirdFlowR::import_birdflow() or and RDS handled by readRDS().

flux_path

The path to and RDS file (ending in ".rds") to write the result to.

Value

Flux is written to disk nothing is returned.