Closed lazappi closed 1 year ago
Hi Luke,
Thank you for your message! I found it was caused by a bug in construct_data
and I have fixed it now. Please update the package, thanks! In addition, please make sure that the variable types are correct in your input sce (e.g., nCount_RNA is not numeric in this example data so you need to convert it to numeric first.)
If you have any other suggestions for improving the package, please don't hesitate to let me know. It would be constructive since you are the pioneer in simulating sc data. Thanks!
Best, Dongyuan
Thanks for replying so quickly! I have tried with the new version and it seems to be working now. I have run into another problem but I don't think it's related so I will open a new issue for that.
I am trying to create a simulation including both batch effects and library size based on the tutorials. Each one individually works fine but I get an error when I try to include both. Example code (reference data is the PBMC data from the batch effects tutorial):
Should this work or am I doing something wrong here? There is also a warning about parallelization so maybe that is involved somehow? Thanks!