Open alexlenail opened 1 year ago
Hey @alexlenail,
Thanks for reporting, I think this is because in the current interface the matrix is imputed by default.
It also seems that scOpen's interfaces have been reworked since the interface in muon.atac
was written. So I'll try to make an upgrade to the interface in muon.atac
as well.
A thing to note here that scOpen itself has --no-impute=False
as a default argument and is generally proposed as an imputation method. Following this issue, I think I would be more inclined not to perform imputation by default and rather focus on the latent space but I'd be curious to also hear what you think about that.
To comment on the issue title, I don't think muon.atac.pp.scopen
writes anything on disc...
I ran scopen to impute my ATAC data using the scopen package directly, and it did not cause a memory error, so I think muon is maybe allocating more arrays than it needs to?
Is there a way around this? I think the original scopen project doesn't require this. (https://github.com/CostaLab/scopen/blob/master/vignettes/epiScanpy.ipynb)