InitialPopulation: InitialPopulation

Description Usage Arguments Examples

View source: R/dGAselID.R

Description

Generates an initial randomly generated population of haploid genotypes.

Usage

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

dGAselID documentation built on July 10, 2017, 9:02 a.m.