wholeChromosomeDeletion {dGAselID}R Documentation

wholeChromosomeDeletion

Description

Operator for the deletion of a whole chromosome.

Usage

wholeChromosomeDeletion(individuals, chrConf, mutationChance)

Arguments

individuals

dataset returned by Individuals().

chrConf

Configuration of chromosomes returned by splitChromosomes().

mutationChance

Chance for a deletion of a whole chromosome mutation to occur.

Examples

## 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)
wholeChromosomeDeletion(individuals, chrConf, 20)
 
## End(Not run)

[Package dGAselID version 1.2 Index]