Closed lazappi closed 9 months ago
Hi Luke,
Thanks for trying out scDesign3, and I'm sorry for the late reply. I just updated the code to fix this bug, the newest code should run with no issue using your provided code. The reason for the bug is that when ncell
is small and there are some cell types in the inputted data that have very few cells (For example, in this dataset, the number of Megakaryocytes is only 0.287% of all cells), the generated values for the 100 synthetic cells'cell_type
may not include those cell types, and this will cause errors when generating the new values for nCount_RNA
.
Please let me know if you have any further questions.
Best, Qingyang
I get the following error if I set the
ncell
argument when there is a continuous covariate in the model.(P.S. I thought I submitted this last week but apparently not, sorry for the delay)