-
Notifications
You must be signed in to change notification settings - Fork 25
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
Long runtime for simulating spatial data #22
Comments
Update, when I run for only 10 genes, it works. It is only taking longer than I expected. For the full dataset, it was running for four days and stopped by our server due to the time limit. |
Hi,
Please let me know if it works for you! Best, |
Hi, When I try to run the tutorial code with the changes you mentioned I get the following warning? Warning in estimate.theta(theta, family, y, mu, scale = scale1, wt = G$w, : Is this a problem? Best, |
@lucas02061 Hi Lucas, Best, |
Are there any plans of adding a progress bar to scDesign3? The Marginal Fitting step is very slow on spatial transcriptomics data even with the settings you mentioned earlier. It is hard to know if it is unfeasible to do a run on a given dataset or it is almost done running without a progress bar. Best, |
@lucas02061 Thanks for raising this problem. Are you still using Windows right now? On Linux, you can use Unfortunately, I am traveling in the next two weeks but I will begin on improving the speed after that. Could you first subsample ~ 100 genes and tell me the running time? Thanks! Best, |
For only a 100 genes using the following settings it takes me approximatly15 minutes to run. Once I start going higher on genes though it starts taking many hours. example_simu <- scdesign3( Thanks for your help. Best, |
I tried running it on our server (which is quite heavy) for 24 hours and it is still stuck on marginal fitting. It still seems incredibly slow with the settings provided in this thread. I used the following dataset: And I used the following settings. Am I doing something wrong? Best regards, |
Hi Lucas, |
Dear Dongyuan, I also have the same issue in fitting spatial data. Can I feed in 10 genes each time, and repeat the fitting multiple times in independent runs to get the result? Best, |
Hi Feng, |
Thank you. That is a great point. I will use gene module groups instead. |
Hi developers, I want to add scDesign3 to a benchmarking paper that my research group is working on, but I also have trouble with running the tool for spatial data on a decently beefy linux server, where the server gets stuck on marginal fitting. It took approximately one hour and 24 minutes to run on the dataset from the tutorial for spatial data, is it expected for the tool to take a long time running on the this dataset? I make use of the following parameters with multiple cores to speed it up. Best Regards Nikolaj. |
@TotallyRealHolm
Please let me know if it works for you. Thanks! Best, |
Hi scDesign3 developers,
Thank you for maintaining the amazing tool!
When I was simulating the data from https://www.10xgenomics.com/resources/datasets/mouse-brain-serial-section-2-sagittal-anterior-1-standard-1-1-0, scDesign3 seems to stuck in 'Marginal Fitting' for a long time. Doesn't matter if I just simulate for 10 genes, it stucks at Marginal Fitting. I will very much appreciate your help!! Thanks :)
Best,
Chit Tong
Here is the code I used:
The text was updated successfully, but these errors were encountered: