Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using de.test.wald(): #227

Open
SteffiHMuc opened this issue Oct 19, 2023 · 3 comments
Open

Error when using de.test.wald(): #227

SteffiHMuc opened this issue Oct 19, 2023 · 3 comments

Comments

@SteffiHMuc
Copy link

I am using diffxpy to calculate differential gene expression analysis, but every time the iteration for the calculation starts and is ended quickly with the same error. What could be the reason?

The code:

import diffxpy.api as de

Perform differential expression analysis

test_01 = de.test.wald(
data=adata_olig_2,
formula_loc="~ 1 + group",
factor_loc_totest="group",
gene_names=adata_olig.var_names,
sample_description=adata_olig.obs,
)

The error:
training ___location model: False
training scale model: True
iter 0: ll=56543949.613667
iter 1: ll=56543949.613667, converged: 0.00% (loc: 100.00%, scale update: False), in 0.00sec
Fitting 4000 dispersion models: (progress not available with multiprocessing)

BracketError: The algorithm terminated without finding a valid bracket. Consider trying different initial points.

Version information:
anndata 0.9.2
diffxpy v0.7.4
gseapy 1.0.6
numpy 1.24.4
pandas 1.5.3
scanpy 1.9.4
scipy 1.11.2

@mason-sweat1
Copy link

I had the same error. Was there any solution for this?

@errepeAxel
Copy link

Hi, I had the same error. Did you find any solution? Thanks in advance :)

@lf96abc
Copy link

lf96abc commented Jun 11, 2024

Hi, has any solution been found?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants