GARS_create_rnd_population {GARS} | R Documentation |
This function creates the initial random population of chromosomes
GARS_create_rnd_population(data, chr.len, chr.num = 1000)
data |
A
' |
chr.len |
The length of chromosomes. This value corresponds to the desired length of the feature set. |
chr.num |
The number of chromosomes to generate. Default is 1000 |
A matrix representing the chromosomes population: each column is a chromosome and each element correspond to the feature position in 'data'
Mattia Chiesa, Luca Piacentini
# use example data: data(GARS_data_norm) GARS_create_rnd_population(GARS_data_norm, chr.len=10, chr.num=100)