InitialPopulation {dGAselID} | R Documentation |
InitialPopulation
Description
Generates an initial randomly generated population of haploid genotypes.
Usage
InitialPopulation(x, populationSize, startGenes,
EveryGeneInInitialPopulation = TRUE)
Arguments
x |
Dataset in ExpressionSet format. |
populationSize |
Number of genotypes in initial population. |
startGenes |
Genes in the genotypes at initialization. |
EveryGeneInInitialPopulation |
Request for every gene to be present in the initial population. The default value is TRUE. |
Examples
## Not run:
library(ALL)
data(ALL)
demoALL<-ALL[1:12,1:8]
population01<-InitialPopulation(demoALL, 4, 4)
population02<-InitialPopulation(demoALL, 20, 4, FALSE)
## End(Not run)
[Package dGAselID version 1.2 Index]