Learn R Programming

sybil (version 2.2.0)

reactId-class: Structure of Class "reactId"

Description

Structure of the class "reactId". Objects of that class are returned by the function checkReactId.

Arguments

Objects from the Class

Objects can be created by calls of the form new("reactId", mod_id, pnt, id = NULL, mod_key = "").

mod_id:

Object of class "character" containing the model id.

pnt:

Object of class "numeric" containing the column indices in a stoichiometric matrix of the reactions given in react.

id:

Object of class "character" containing the reaction id's corresponding to argument pos. If set to NULL (default), no reaction id's are used.

mod_key:

Object of class "character" containing the model key.

Slots

mod_id:

Object of class "character" containing the model id.

mod_key:

Object of class "character" containing the model key of the used model.

react_pos:

Object of class "integer" containing the column indices of reaction id's in the stoichiometric matrix of the metabolic model with id mod_id.

react_id:

Object of class "character" containing the reaction id's corresponding to the indices given in slot react_pos.

react_num:

Object of class "integer" containing the number of reaction id's.

Methods

mod_id<-:

signature(object = "reactId"): sets the mod_id slot.

mod_id:

signature(object = "reactId"): gets the mod_id slot.

mod_key<-:

signature(object = "reactId"): sets the mod_key slot.

mod_key:

signature(object = "reactId"): gets the mod_key slot.

react_pos<-:

signature(object = "reactId"): sets the react_pos slot.

react_pos:

signature(object = "reactId"): gets the react_pos slot.

react_id<-:

signature(object = "reactId"): sets the react_id slot.

react_id:

signature(object = "reactId"): gets the react_id slot.

length

signature(object = "reactId"): returns the number of reaction id's.

[:

signature(x = "reactId"): access like a vector. x[i] returns a new object of class reactId containing the ith reaction id.

See Also

checkReactId

Examples

Run this code
# NOT RUN {
  showClass("reactId")
# }

Run the code above in your browser using DataLab