Closed fhermans27 closed 3 years ago
Hi, thank you for sharing this. I've got the same error and hope someone can kindly help. Many thanks.
I can't tell from the error trace what the problem is likely to be. Are you both using the latest version of SoupX on CRAN? If not could you update to the newest version by running install.packages('SoupX')
and see if that fixes the problem.
If the error persists, would you be able to save your SoupChannel
object using saveRDS(sc,sc_file.RDS)
and share it with. I can then investigate further what the problem might be.
Hi! Thank you for the very useful package. I have got the same error running adjustCounts with the latest version of SoupX (installed today). I have my SoupChannel object saved, how can I share it with you? Thank you in advance for your help!
If this is not too far in the past to still be useful, you can email a link to constantamateur
Many thanks to @paulineriviere for sending me an example file.
The root cause of this error seems to be when there are a different number of genes in the empty droplets (for cellranger raw_feature_bc_matrix
) and the cells (filtered_feature_bc_matrix
).
I'll implement an automatic check/fix for this in the next version, but for now if you run the below before adjustCounts
this error should be fixed:
sc$soupProfile = sc$soupProfile[rownames(sc$toc),]
I'll leave this issue open for now. If the above fix doesn't work for anyone please let me know.
v1.5.1 will now check and raise an error if the table of counts and droplets doesn't use the same genes, which should prevent this issue in future.
Hi, thanks for the nice tool to correct ambient RNA expression!
I've been following the vignette, and everything has been going well up till the correction of the expression profile using adjustCounts, rho was estimated fine.
However upon running adjustCounts I get the following error message:
I don't know where the problem lies unfortunately... Any help troubleshooting would be appreciated.
I tried checking the structure of my CellSoup object (using str(cs)) and got the following output:
At first glance everything looks fine to me? Googling the error message didn't help me further..
Thanks!