Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotFit

Plot the evolution of an optimisation


Description

This function takes in the results of an optimisation by gaBinaryT1 and plots the evolution of best fit and average fit against generations.

Usage

plotFit(optRes, filename = NULL)

Arguments

optRes

an object created by the optimisation engine (gabinaryT1)

filename

NULL or string: if provided, the plot is save in PDF format in the filename.

Value

This function doesn't return anything, it just produces a plot in your graphics window.

Author(s)

C. Terfve

See Also

Examples

data(CNOlistToy,package="CellNOptR")
data(ToyModel,package="CellNOptR")

#process the model
model = preprocessing(CNOlistToy,ToyModel)

#optimise

ToyT1opt<-gaBinaryT1(
	CNOlist=CNOlistToy,
	model=model,
	maxGens=10,
	popSize=10,
	verbose=FALSE)

plotFit(optRes=ToyT1opt)

CellNOptR

Training of boolean logic models of signalling networks using prior knowledge networks and perturbation data

v1.36.0
GPL-3
Authors
T.Cokelaer, F.Eduati, A.MacNamara, S.Schrier, C.Terfve, E.Gjerga, A.Gabor
Initial release
2018-11-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.