SpatialDE
SpatialDE copied to clipboard
SVD did not converge in Linear Least Squares
Hi @kant @flying-sheep @ostegle @vals @NickEngland , thanks for your contribution to SpatialDE! I'm facing a bug when I run resid_expr = NaiveDE.regress_out(adata.obs[['total_counts']], norm_expr.T, 'np.log(total_counts)')
. This produces an error LinAlgError: SVD did not converge in Linear Least Squares
. I have checked that there is no NA and Infinite numbers in norm_expr.
could be that the number of genes you had in you anndata object is too few.