Example use case

The toy dataset is not real data. It contains real SNPs and gene info, but no real individuals It was created for testing and evaluating the pipeline only. In this example use case, we use the toy dataset to generate gene-based scores, association analysis and machine learning models.

Gene-based scores

The gene-based scores can be found here. These scores are used as input for the association analysis and as features for the machine learning models.

Association analysis

We performed linear regression on the qunatitative phenotype and a logistic regression on the binary phenotype. Results can be found here.

The QQ-plot of quantitative phenotype:

_images/linear_assoc_quan_qqplot.png

Manhatten plot of quantitative phenotype:

_images/linear_assoc_quan_manhattan.png

Machine learning models

We have created two types of models, regression and classification. Both models use the gene-based scores as features along with covariates. For the regression model, a quantitative trait was generated, while a binary trait was generated for the classification model. For each model, 10 fold cross validation was done on training dataset and an extra evaluation step was done on the testing set. The input for the model generation can be found here.

Classification model

Results of model training

Feature importance:

_images/feature.png

Precision-recall curve:

_images/Precision_Recall.png

Confusion matrix:

_images/binary_classifier_model_classifier_confusion_matrix.png

Regression model

Results for model training

Feature importance:

_images/feature1.png

Prediction error:

_images/Prediction_Error.png

Residuals:

_images/Residuals1.png