-
Notifications
You must be signed in to change notification settings - Fork 47
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
RuntimeError: No coarse-grained stationary distribution found #1135
Comments
mh, not sure what's going on here, do you have any idea @michalk8 ? |
I randomly took subsets of the whole dataset and increased the cells by 5% for each subset. At most, only up to 30% cells (366,754) could run successfully. |
The (coarse) stationary distribution is not guaranteed to always exist. Running To overcome this, if you know how many initial macrostates you expect, you can pass it as |
Hi @michalk8, I tried your comment above but still I receive the same error.
I have tried n_states from 1 to 22, but still I experience the same error. May I know if this can be fixed? Many thanks! |
mh, any idea @michalk8 ? |
Hi, thought I'd mention that I've been getting the same error too, though only when computing the initial state. Both with and without specifying the n_states. I was able to compute the terminal states with no errors. |
...
Hi there,
I am trying to compute the initial and terminal states of cells from time series experiments with the codes in the attached cellrank_check_script.txt.
It worked when I ran the script with a small subset of data but failed with the whole dataset with 1,222,515 cells.
When I run
g.predict_initial_states(allow_overlap=False)
, it gave me the error informationRuntimeError: No coarse-grained stationary distribution found.
I check the scripts step by step;
g.coarse_stationary_distribution
is empty when I run with the whole dataset.Could you please help me check this issue? Thanks in ahead.
The log file is below.
The version of packages:
cellrank_check_script.txt
The text was updated successfully, but these errors were encountered: