indexFinder: Finds the indices, in the model fields, of the species that...

Description Usage Arguments Value Note Author(s) See Also Examples

Description

This function finds the indices, in the model fields, of the species that are measured/inhibited/stimulated. It looks for their position in model$namesSpecies which has the same order as the rows of interMat and notMat, and therefore these indexes can be used there as well.

Usage

1
indexFinder(CNOlist, model,verbose=FALSE)

Arguments

CNOlist

a CNOlist structure, as produced by makeCNOlist

model

a model structure, as produced by readSIF

verbose

do you want information about the cues and signals identities printed on the screen? Default if false but we would advise to set it to true when the function is called for the first time.

Value

a list with fields:

signals

vector of indices of the measured species

stimulated

vector of indices of the stimulated species

inhibited

vector of indices of the inhibited species

Note

For internal usage since version 1.3.28

Author(s)

C. Terfve

See Also

makeCNOlist, readSIF

Examples

1
2
3
data(CNOlistToy,package="CellNOptR")
data(ToyModel,package="CellNOptR")
indicesToy<-indexFinder(CNOlistToy,ToyModel,verbose=TRUE)

cokelaer/CellNOptR documentation built on May 27, 2019, 8:44 a.m.