multiDel | R Documentation |
Parallel computation support for the functions oneGeneDel
,
doubleGeneDel
, oneFluxDel
,
doubleFluxDel
and fluxVar
.
multiDel(model, nProc = 2, todo = "oneGeneDel", del1 = NA, del2 = NA, ...)
model |
An object of class |
nProc |
Number of cores (processes) to use. |
todo |
A single character value giving the function name, which should be
parallelised. Can be one of |
del1 |
Vector of genes/reactions to consider. |
del2 |
Vector of genes/reactions to consider (for use with
|
... |
Further arguments passed to |
The function loads the package parallel if available. Argument
nProc
should be the number of cores to use. This number is veryfied
via a call to detectCores
(of parallel) and is set to the return
value of detectCores
, if nProc > detectCores()
evaluates to
TRUE
. Arguments del1
and del2
are split into lists,
each list element containing nProc/del1
elements. These are passed to
mclapply
.
A list of length nProc
(or less, depending of the numbers of available
cores), each element containing the return value of the function called (on
object of a class extending optsol
).
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
mclapply
, optsol
, oneGeneDel
,
doubleGeneDel
, oneFluxDel
,
doubleFluxDel
and fluxVar
.
## Not run:
## The examples here require the packages glpkAPI and parallel to be
## installed.
## perform single gene deletion analysis using the E. coli core
## metabolic model
data(Ec_core)
ad <- multiDel(Ec_core)
mapply(checkOptSol, ad)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.