Skip to contents

This function removes specified metabolites from a model.

Usage

rmMetabolite(model, met)

Arguments

model

Model of class ModelOrg

met

A character vector stating the metabolite IDs in a model or a numeric vector providing the metabolite indices.

Value

An updated model of class ModelOrg

Note

If at least one of the provided metabolites still participates in a reaction, the function stops with an error message.