Get a Subset of Matrix Like Objects
Generate subsets of matrix-like objects.
## S4 method for signature 'modelorg' shrinkMatrix(X, i = NULL, j = NULL, tol = SYBIL_SETTINGS("TOLERANCE"))
X |
An object treated to be matrix-like. |
i |
A numeric or character vector containing row indices of the matrix
given in argument |
j |
A numeric or character vector containing column indices of the
matrix given in argument |
tol |
A tolerance value. An element X[i, j] of the matrix given in
argument |
signature(X = "modelorg")
method to use with objects of class modelorg
for
subsets of the stoichiometric matrix. Either argument i
or
argument j
can be used, not both at the same time. If they are of
type character, they must contain metabolite or reaction id's existing
in the modelorg
object. Use i
to get the
reactions in which the metabolites given in i
participate (the
metabolites given in i
will be located in the first rows of the
result). Use j
to get all reactions given in j
. The method
will remove all non-zero rows and columns from the result.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Class modelorg
.
# get the part of the stoichiometric containing # the exchange reactions data(Ec_core) ex <- findExchReact(Ec_core) shrinkMatrix(Ec_core, j = ex)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.