Description Methods Author(s) See Also Examples
plotGeneGA implement plotGeneGA methods for GeneGA and GeneFoldGA objects respectively.The functions visualize the variation of optimized and mean overall evaluation values and variable values during the progress that genetic algorithm performed. Furthermore, the plot also can be used to check the results whether well converged.
plotGeneGA method for GeneFoldGA
plotGeneGA method for GeneGA, it also has a parameter "type", which can be assigned with one of the three values, the default value is "default", which show the variation of mean and optimized overall evaluation value along with the generation. while 1, 2 display the variation of mean and optimized overall CAI value and minimum free energy respectively, and 3 display the scatter plot of two variables–CAI and minimum free energy
Zhenpeng Li, Fei Li, Xiaochen Bo and Shengqi Wang
GeneGA-class
, GeneFoldGA-class
, GeneGA
,
GeneFoldGA
, show-methods
1 2 3 4 5 | seqfile=system.file("sequence", "EGFP.fasta", package="GeneGA")
seq=unlist(getSequence(read.fasta(seqfile), as.string=TRUE))
GeneGA.result=GeneFoldGA(sequence=seq, popSize=40, iters=100, crossoverRate=0.3,
mutationChance=0.05, region=c(1,42))
plotGeneGA(GeneGA.result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.