Learn R Programming

sybil (version 2.0.0)

changeUptake-methods: Change Uptake Reactions

Description

Switch uptake reactions in metabolic networks on and off.

Usage

# S4 method for modelorg
changeUptake(object, off = NULL, on = NULL,
                                  rate = SYBIL_SETTINGS("MAXIMUM") * -1)

Arguments

object

An object of class '>modelorg.

off

A numeric or character vector or an object of class '>reactId_Exch containing the metabolite id's of metabolites to not use for uptake. If they have an exchange reaction with a lower bound less than zero, this lower bound is set to 0. If off is set to NULL, all uptake reactions will be deactivated. If off is set to FALSE, no uptake reaction will be deactivated. If you just want to add an uptake reaction, set off to FALSE. Default: NULL.

on

A numeric or character vector or an object of class '>reactId_Exch containing the metabolite id's of metabolites to use for uptake. Default: NULL.

rate

A numeric vector containing the uptake rates for metabolites given in on. Default: SYBIL_SETTINGS("MAXIMUM") * -1.

Value

An object of class '>modelorg.

Methods

signature(object = "modelorg")

method to use with objects of class '>modelorg.

See Also

Class '>modelorg