Starlitnightly / omicverse

A python library for multi omics included bulk, single cell and spatial RNA-seq analysis.
https://starlitnightly.github.io/omicverse/
GNU General Public License v3.0
274 stars 32 forks source link

H should have the same dtype as X. Got H.dtype = float32. #85

Open christophechu opened 1 month ago

christophechu commented 1 month ago

In cnmf it has been solved, But in omicverse its still here.

christophechu commented 1 month ago

cnmf_obj.consensus(k=selected_K, density_threshold=density_threshold, show_clustering=True, close_clustergram_fig=False)

christophechu commented 1 month ago

add norm_tpm.X = norm_tpm.X.astype(np.float32) and norm_counts.X = norm_counts.X.astype(np.float32) can solve this problem

Starlitnightly commented 1 week ago

Hi, I can't reproduce the problem you're posing, can you give a detailed input/output case, and what is reported as an error?

Zehua