dylkot / cNMF

Code and example data for running Consensus Non-negative Matrix Factorization on single-cell RNA-Seq data
MIT License
243 stars 57 forks source link

adata.X conversion #74

Closed hanhuajun40 closed 9 months ago

hanhuajun40 commented 9 months ago

Hi, Dylan,

When I ran cnmf_obj.consensus() steps, I always have an error to show that 'H should have the same dtype as X. Got H.dtype = float64.', because anndata automatically convert adata.X type to float 32. Is there any way to suppress this conversion for this step. Thanks!