For elastic net models, you can find a tutorial here(

The newer GTEx v8 models were generaed with code available here. The documentation is still a work in progress, don’t hesitate to use the PrediXcan/MetaXcan Google Group to ask for support.


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The source code is licensed under MIT.

Suggest changes

If you find any mistakes (including typos) or want to suggest changes, please feel free to edit the source file of this page on Github and create a pull request.


For attribution, please cite this work as

PredictDB Team (2021). How can I build my own prediction model?. PredictDB. /post/2021/07/21/how-can-i-build-my-own-prediction-model/

BibTeX citation

  title = "How can I build my own prediction model?",
  author = "PredictDB Team",
  year = "2021",
  journal = "PredictDB",
  note = "/post/2021/07/21/how-can-i-build-my-own-prediction-model/"