Learn R Programming

CellNOptR (version 1.18.0)

indexFinder: Finds the indices, in the model fields, of the species that are measured/inhibited/stimulated

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

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

See Also

makeCNOlist, readSIF

Examples

Run this code
data(CNOlistToy,package="CellNOptR")
data(ToyModel,package="CellNOptR")
indicesToy<-indexFinder(CNOlistToy,ToyModel,verbose=TRUE)

Run the code above in your browser using DataLab