Description Usage Arguments Value Author(s) See Also Examples
View source: R/GARS_fitnessFunction.R
In GARS the Fitness Function consists in calculating the Averaged Silhouette Index after a Multi-Dimensional Scaling
1 | GARS_FitFun(data, classes, chr.pop)
|
data |
A
' |
classes |
A vector of type "factor" with |
chr.pop |
A matrix or a data.frame representing the chromosomes population: each column is a chromosome and each element corresponds to the feature position in the expression data matrix |
A numeric vector where each element corresponds to the fitness score of each chromosome in 'chr.pop'
Mattia Chiesa, Luca Piacentini
1 2 3 4 5 | # use example data:
data(GARS_data_norm)
data(GARS_classes)
data(GARS_popul)
fitness_scores <- GARS_FitFun(GARS_data_norm, GARS_classes, GARS_popul)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.