theislab / diffxpy

Differential expression analysis for single-cell RNA-seq data.
https://diffxpy.rtfd.io
BSD 3-Clause "New" or "Revised" License
193 stars 23 forks source link

Add continuous DE test #7

Closed davidsebfischer closed 6 years ago

davidsebfischer commented 6 years ago

Use spline basis transform of contnuous covariate via http://patsy.readthedocs.io/en/latest/spline-regression.html#natural-and-cyclic-cubic-regression-splines and feed transformed feature space to batchglm so that batchglm does not know anything specific happenend.

davidsebfischer commented 6 years ago

Addressed in https://github.com/theislab/diffxpy/pull/69.