plotGeneGA-methods: plotGeneGA methods of GeneGA and GeneFoldGA objects

Description Methods Author(s) See Also Examples

Description

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.

Methods

x = "GeneFoldGA"

plotGeneGA method for GeneFoldGA

x = "GeneGA"

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

Author(s)

Zhenpeng Li, Fei Li, Xiaochen Bo and Shengqi Wang

See Also

GeneGA-class, GeneFoldGA-class, GeneGA, GeneFoldGA, show-methods

Examples

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)

GeneGA documentation built on Nov. 8, 2020, 8:17 p.m.