# \[BREAKING CHANGE\] redesign of regression (GWAS) functions

**URL:** <https://discuss.hail.is/t/breaking-change-redesign-of-regression-gwas-functions/700>\
**Category:** Updates\
**Created:** [October 16, 2018, 11:26pm UTC](https://discuss.hail.is/t/breaking-change-redesign-of-regression-gwas-functions/700 "2018-10-16T23:26:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)\
**Post date:** [October 16, 2018, 11:26pm UTC](https://discuss.hail.is/t/breaking-change-redesign-of-regression-gwas-functions/700/1 "2018-10-16T23:26:24Z")

</div>

We have changed the following regression methods:

- hl.linear\_regression
- hl.logistic\_regression
- hl.poisson\_regression
- hl.linear\_mixed\_regression

We have renamed them to:

- hl.linear\_regression\_rows
- hl.logistic\_regression\_rows
- hl.poisson\_regression\_rows
- hl.linear\_mixed\_regression\_rows

We have renamed them to better indicate these methods’ specific GWAS application in an increasingly general-purpose library.

**There is also a change in semantics** : these methods now return Table objects, rather than adding new fields to the MatrixTables they take as input. This make export and exploration of the results much more natural.

---

<div class="post-metadata">

**Author:** ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)\
**Post date:** [October 16, 2018, 11:27pm UTC](https://discuss.hail.is/t/breaking-change-redesign-of-regression-gwas-functions/700/2 "2018-10-16T23:27:39Z")

</div>

This change may impact some multiple-regression UKBB activities, but we will add functionality to enable these specific use cases in the coming few weeks.
