Description Usage Arguments Examples
Operator for the frameshift mutation.
1 | frameShiftMutation(individuals, chrConf, mutationChance)
|
individuals |
dataset returned by Individuals(). |
chrConf |
Configuration of chromosomes returned by splitChromosomes(). |
mutationChance |
Chance for a frameshift mutation to occur. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
library(ALL)
data(ALL)
demoALL<-ALL[1:12,1:8]
set.seed(1234)
population<-InitialPopulation(demoALL, 4, 9)
individuals<-Individuals(population)
chrConf<-splitChromosomes(demoALL, 2)
chrConf
individuals
set.seed(123)
frameShiftMutation(individuals, chrConf, 20)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.