Skip to content
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

Mode 'full' does not return the correct latent representation #53

Closed
valentinwust opened this issue May 10, 2022 · 1 comment
Closed

Comments

@valentinwust
Copy link

In mode 'full', the original data is overwritten with
adata.X = self.model.predict({'count': adata.X, 'size_factors': adata.obs.size_factors})
before the latent representation is created using:
adata.obsm['X_dca'] = self.encoder.predict({'count': adata.X, 'size_factors': adata.obs.size_factors})
"X_dca" therefore does not contain the accurate latent representation if this mode is used.

@gokceneraslan
Copy link
Collaborator

Thanks! Should be correct now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants