theislab / diffxpy

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

[TF2] Unit test + pkg_constant change. #136

Open picciama opened 4 years ago

picciama commented 4 years ago

Changed the default pkg_constant for batchglm autograd to False since it runs double the time compared to analytic differentiation.

Added a unit test to compare numpy with tf2 DE results based on fitted coefficients, pval, qval and logfoldchange. Please have a look at it, since it may need some threshold adjustments.