Usage
gaDiscreteT1(CNOlist, model, paramsList, initBstring=NULL, sizeFac=0.0001, NAFac=1, popSize=50, pMutation=0.5, maxTime=60, maxGens=500, stallGenMax=100, selPress=1.2, elitism=5, relTol=0.1, verbose=TRUE,maxSizeHashTable = 1000)
Arguments
CNOlist
a CNOlist on which the score is based (based on valueSignals[[2]], i.e. data at t1)
paramsList
CellNOptR software parameters (this functions uses transfer functions to choose from)
initBstring
an initial bitsring to be tested, should be of the same size as the number of
reactions in the model above.
sizeFac
the scaling factor for the size term in the objective function, default to 0.0001
NAFac
the scaling factor for the NA term in the objective function, default to 1.
popSize
the population size for the genetic algorithm, default set to 50
pMutation
the mutation probability for the genetic algorithm, default set to 0.5
maxTime
the maximum optimisation time in seconds, default set to 60
maxGens
the maximum number of generations in the genetic algorithm, default set to 500.
stallGenMax
the maximum number of stall generations in the genetic algorithm, default to
100.
selPress
the selective pressure in the genetic algorithm, default set to 1.2.
elitism
the number of best individuals that are propagated to the next generation in the
genetic algorithm, default set to 5.
relTol
the relative tolerance for the best bitstring reported by the genetic algorithm,
i.e.how different from the best solution can solutions be to be reported as
well, default set to 0.1.
verbose
logical (default to TRUE) do you want the statistics of each generation to be printed on the screen?
maxSizeHashTable
a hash table is use to store bitstring and related
score. This allows the GA to be very efficient is the case of small models. The
size of the hash table is 5000 by default, which may be too large for large
models