GARS_FitFun: This function implements the Fitness Function of GARS

Description Usage Arguments Value Author(s) See Also Examples

View source: R/GARS_fitnessFunction.R

Description

In GARS the Fitness Function consists in calculating the Averaged Silhouette Index after a Multi-Dimensional Scaling

Usage

1
GARS_FitFun(data, classes, chr.pop)

Arguments

data

A SummarizedExperiment object or a matrix or a data.frame. In case of matrix or data.frame:

  • Rows and Cols have to be, respectively, observations and features. The variables are tipically genes;

  • GARS also accept other -omic features as well as any continuous or factorial variables (e.g. sex, age, cholesterol level,...);

  • Usually the number of observation is << than the number of features

'

classes

A vector of type "factor" with nrow(data) elements. Each element represents the class label for each observation.

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

Value

A numeric vector where each element corresponds to the fitness score of each chromosome in 'chr.pop'

Author(s)

Mattia Chiesa, Luca Piacentini

See Also

GARS_create_rnd_population

Examples

1
2
3
4
5

GARS documentation built on Nov. 8, 2020, 7:23 p.m.