The aim of the Prediction tool is to take advantage of the signalling circuit activities to distinguish between phenotypes (a two group comparison).
HiPathia Prediction uses the signalling value of mechanism-based biomarkers to train a SVM prediction model with cross-validation-based techniques. Moreover, previously obtained models could be used to predict the phenotype of new samples.
The tool can be accessed from the main menu bar, by clicking on the Prediction button, see Workflow for further information.
The main page of the tool is its filling form. This form includes all the information and parameters that the tool needs to process a study. The form is divided into different panels:
The type panel allows you to choose the kind of prediction analysis you want to perform. You can choose between two options:
In the input data panel, we must introduce the expression data. The expression data has to be:
When we select a gene expression file, the number of samples of this matrix will appear under the “file browser” button as shown below.
It will appear only if the Build new predictor is selected.
The design data panel allows you to choose the kind of experiment you want to perform:
If the experimental design file contains more than two classes then you have to select the appropriate class for each condition.
Note: condition 2 will be taken as a reference condition.
Here we must choose the species of our experiment. You can choose among:
This panel includes further parameters necessary to run an analysis.
Rank and filter circuits: Check to obtain the circuits that best differentiate your phenotype. This option is only available for the Build new predictor type.
This panel includes the list of all available pathways in HiPathia. We can select the pathways with which the analysis will be performed.
HiPathia retrieves pathway information from KEGG database. KEGG pathway database is a collection of manually drawn pathway maps representing the knowledge on the molecular interaction, reaction and relation networks.
By default all available pathways are selected.
Note: At least one pathway has to be selected.
This panel includes some parameters in order to identify and save our study.
Once the form has been filled in, press the Run analysis button to launch the study. Your study will be listed in the My studies panel, and a panel called Browse my studies will appear showing all your studies and their state. the new study will appear with a queued state then running state. If everything goes well, the state will be done after few minutes(depending on the inputs data and the availability of server). All study states are:
The report page of the Prediction tool includes different output results. You can download any table or image showed in the results page by clicking on the name right before it. You can also download the pathway and function matrices by clicking on Circuit values.
The results are divided in different panels:
Here you can find the information about the selected study.
Here you can visualize the parameters with which the current study was launched.
You can download the matrix of circuit activity values by clicking on circuit values. This matrix file indicates for each “effector circuit” the level of activation calculated using Hipathia method for each sample.
Here you can visualize the results from the prediction analysis.
The number of equal-sized subsamples in which the original sample is randomly partitioned. Then a table for test model statistics is showed, each value represents the mean across the holdout folds for the corresponding metric or score:
Then you will find several plots for train-test split validation, where we randomly holdout 30% of the data for the test while the remaining samples are used for training the model. The plots represent the receiver operating characteristic and precision and recall curves for each split.
Here you can find a boxplot for the (predicted) probability distribution of the positive class over the test split with respect to the original labels:
Then we show a table with the statistics of the model over the test set, in the same format as the one presented for the k-fold experiment. A well suited model for the problem at hand should not present a huge gap between the performance during the training and testing phases:
Here you will find a table with the most relevant circuits along with their interaction sign. You can download the filtered circuits that best differentiate your phenotype. This section is only available when selecting Rank and filter circuits option.
When you select Use existing predictor you will have a different report for your test prediction study. The test report is divided into four different panels:
As explained before, here you can find the information about the current study.
The parameters with which the test study was launched, such as the name of the used expression file and the Species.
This matrix file indicates for each “effector circuit” the level of activation calculated using Hipathia method for each sample.
This is the most important result, this table is the predicted design file for your selected expression matrix using a previously trained model.
The prediction tool is based on a machine learning module, this module of the Hipathia web tool can be summarized as follows:
glmnet
R package which implements a fast coordinate descent version of the LASSO [5]).C
cost or margin and γ) of a non-linear SVM [6] with a radial-basis kernel:C
we train a SVMC
), i.e. the ones with the lower CV mean error.LIBSVM
[2] library by means of the R interface provided by the R package e1071
[1].PRROC
[3][1]D. Meyer, E. Dimitriadou, K. Hornik, A. Weingessel, and F. Leisch, e1071: Misc Functions of the Department of Statistics, Probability Theory Group (Formerly: E1071), TU Wien. 2019, https://CRAN.R-project.org/package=e1071
[2]C.-C. Chang and C.-J. Lin, “LIBSVM: A Library for Support Vector Machines,” ACM Trans. Intell. Syst. Technol., vol. 2, no. 3, pp. 27:1–27:27, May 2011, doi: 10.1145/1961189.1961199
[3]J. Grau, I. Grosse, and J. Keilwagen, “PRROC: computing and visualizing precision-recall and receiver operating characteristic curves in R,” Bioinformatics, vol. 31, no. 15, pp. 2595–2597, 2015, | doi: 10.1093/bioinformatics/btv153
[4]R. Tibshirani, “Regression Shrinkage and Selection via the Lasso,” Journal of the Royal Statistical Society. Series B (Methodological), vol. 58, no. 1, pp. 267–288, 1996, doi: 10.1111/j.2517-6161.1996.tb02080.x
[5]J. Friedman, T. Hastie, and R. Tibshirani, “Regularization Paths for Generalized Linear Models via Coordinate Descent,” J Stat Softw, vol. 33, no. 1, pp. 1–22, 2010, doi: 10.18637/jss.v033.i01
[6]C. Cortes and V. Vapnik, “Support-vector networks,” Mach Learn, vol. 20, no. 3, pp. 273–297, Sep. 1995, doi: 10.1007/BF00994018