MSCalcParamLDA Calculate parameters for linear discriminant analysis of cancer/normal samples using MS data.
The Softberry SMS program package allows to perform prediction of patient decease outcome (for example cancer/normal) based on MS data of the samples. To perform this analysis, the peak intensity of the training set of the MS data should be presented in table format first. The table can be obtained using CreateTable program. The resulting table is shown in fig. 1. Each row contain prediction parameters for the sample. First row of the table should contain parameter names: sample ID, time of sampling in months, patient ID, sample case (0 for control, 1 for cancer or decease), - level of additional marker (for example logCA125). Then several columns contain log of the MS peak intensity data for each sample. They called MZ_NNNN, where NNNN is the average m/z value for peak group data detected by MSPeakAlign program (see help for CreateTable program).
The CalculateLDAParameters seach for the linear combination of features (the level of additional marker and peak intensities) which characterize or separate two classes of samples. The sample class is specified in the 4th column of input table ('case'). For samples from patients with cancer detected it should be set to 1 (class 1); for control samples it should be set to 0 (class 0).
Figure 1. Example of the output of CreateTable program. 1st column of the table is sample ID, 2nd is time of sampling in months, 3rd - patient ID, 4th - case (0 for control, 1 for cancer or decease), logCA125 - level of additional marker, MZ_NNNN - log of the peak intensity with location of the peak at m/z= NNNN.
User can limit time of sampling (in month before diagnosis) for cancer patients included in the cancer training set. This limit is set by 'Maximal time value of sampling' parameter. For example, if this parameter is set to 6, only samples from cancer patients taken 6 months prior to cancer diagnosis will be taken and considered as 'cancer' samples.
The program uses two features to build classifier: the logarithm of the CA125 tumor marker level (5th column of the input table) and logarithm of intensity of MS signal for one of the peak groups. The program combines additional marker level with each of the MS peak data, calculate LDF function for each combination and select the peak group that gives the best performance of the LDA classifier. The program output is the LDF function for the best combination of additional marker and MS peak intensity data. It can be used further by MSPredictLDA program for sample classification. This output produced when Output data format parameter is set to 'LDF'. When this parameter is set to 'STAT' value, program outputs classification performance for each combination of the additional marker level and MS peak data.
Input: Sample parameters in a special table format produced by the CreateTable program.
|© 2021 www.softberry.com|