decompose_metabolites: Decompose a metabolite table into the metabolite stub itself...

Description Usage Arguments Value Examples

View source: R/metabolite_utilities.R

Description

Decompose a metabolite table into the metabolite stub itself and the compartment it is in

Usage

1
2
3
4
decompose_metabolites(
  met_table,
  compartment_regex = "(\\[[a-zA-Z0-9]+]$)|(_[a-zA-Z]$)"
)

Arguments

met_table

A metabolite table, with one column, met

compartment_regex

Regular expression to identify compartments in model

Value

a metabolite table with the columns chemical and compartment

Examples

1
2
3
4
5
6
7

fbar documentation built on Sept. 2, 2020, 5:08 p.m.