Ometer — Linear Multiple Discriminant Analysis with Genetic Algorithm Variable Selection (GA-DFA)

GA-DFA consists of an initial variable selection step, followed by a classic linear discriminant analysis (see MDA). The variable selection step choses only a subset of variables for the discriminant analysis, which means that a number of variables will not be used in the classification. In many cases better classifications are obtained when some variables are not used.

Within omic data there are always many more variables than samples or classes. Thus it is useful to apply a variable selection step before the classification. The genetic algorithm (GA) attempts to optimize the combination of variables used. Because the GA is a stochastic algorithm, it will often produce different results in different runs. A common strategy used is to run it repeatedly and then identify the variables that are more often picked for the discrimination (which are likely to be the most determinant for the classes).

Ometer contains two different algorithms to carry out the variable selection. The first one (ga-dfa) requires a predetermined (fixed) number of variables to be used in the classification. The second one (ga-dfa2) attempts to chose an optimal number of variables for the classification. The first algorithm is similar to the one described by Jarvis and Goodacre.

Algorithm 1 (ga-dfa)

The data file must contain classification of samples. To see how to add class labels see Ometer file formats. For the GA algorithm it is necessary to chose the number of variables to use in the discrimination (number of genes in GA speak), the population size (number of parallel searches), and the number of generations (iterations). If not pointed out explicitly, ometer will select default values.

Examples of usage:

ometer -m=ga-dfa --ga-genes=9 --ga-generations=1000 --ga-population=20 -o result input.dat
will analyze the data in file input.dat, selecting 9 of its variables for the discrimination. The GA algorithm will run for 1000 generations (if the number of generations is not indicated explicitly the default is 100), and have a population size of 20 (if not indicated, the default is 10). Results on the following files:

ometer -m=ga-dfa --ga-genes=9 --ga-generations=1000 --ga-population=20 --proj-2dplots -o result input.dat
will carry out the same analysis as in the previous example, in addition it will create plots of the 2D plots of the data projection onto the discriminant axes (DF)

ometer -m=ga-dfa --ga-genes=9 --ga-generations=1000 --ga-population=20 --proj-2dplots --plot-png -o result input.dat
will carry out the same as the previous two examples, but now the gnuplot files are already modified to produce PNG bitmaps (useful to display on web pages, import to word processors, etc.)

Algorithm 2 (ga-dfa2)

The data file must contain classification of samples. To see how to add class labels see Ometer file formats. It is not necessary to chose the number of variables to use in the discrimination (number of genes in GA speak). Examples of usage:

ometer -m=ga-dfa2 --ga-genes=9 --ga-generations=1000 --ga-population=20 -o result input.dat
will analyze the data in file input.dat. The GA will start with 9 variables for the discrimination, but this number will increase or decrease during its execution. The GA algorithm will run for 1000 generations (if the number of generations is not indicated explicitly the default is 100) with a population of 20 individuals (default is 10). Results on the following files:

ometer -m=ga-dfa2 --ga-genes=9 --ga-generations=1000 --ga-population=20 --proj-2dplots -o result input.dat
will carry out the same analysis as in the previous example, in addition it will create plots of the 2D plots of the data projection onto the discriminant axes (DF)

ometer -m=ga-dfa2 --ga-genes=9 --ga-generations=1000 --ga-population=20 --proj-2dplots --plot-png -o result input.dat
will carry out the same as the previous two examples, but now the gnuplot files are already modified to produce PNG bitmaps (useful to display on web pages, import to word processors, etc.)

All tab-delimited text files can be easily loaded into spreadsheets. The html report file should be displayed with a web browser.

back to Ometer home page