Description Usage Arguments Value Author(s) Examples
View source: R/GARS_createRndPopulation.R
This function creates the initial random population of chromosomes
1 | 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
1 2 3 | # use example data:
data(GARS_data_norm)
GARS_create_rnd_population(GARS_data_norm, chr.len=10, chr.num=100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.