cutModel: Cut a model structure according to a bitstring

View source: R/cutModel.R

cutModelR Documentation

Cut a model structure according to a bitstring

Description

This function is for developers only.

Usage

cutModel(model, bString)

Arguments

model

the model object to cut.

bString

the bitString to be used to cut the model object.

Value

cutModel

the new model object

Note

added in version 1.3.16

Author(s)

T. Cokelaer

Examples

   
    data(ToyModel,package="CellNOptR")
    
    bString = rep(1,length(ToyModel$reacID))
    # remove some reactions by setting them to 0. 
    bString[c(2,5,6)] <- 0
    
    prepModel = cutModel(model = ToyModel, bString = bString )
 
    

saezlab/CellNOptR documentation built on April 16, 2024, 5:21 a.m.