You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: The condensed distance matrix must contain only finite values.
However, other functions are working properly, including the regulatory network plot. It’s only the receptor-ligand heatmap that I cannot visualize. I have already removed NA values, but it still hasn’t worked.
The text was updated successfully, but these errors were encountered:
I encountered a ValueError when running the CellPhoneDB command with my own data
ValueError Traceback (most recent call last)
Cell In[96], line 1
----> 1 ov.pl.cpdb_interacting_heatmap(adata=adata,
2 celltype_key='newcelltype',
3 means=cpdb_results['means'],
4 pvalues=cpdb_results['pvalues'],
5 source_cells=['EC'],
6 target_cells=['FB1','FB2','FB3','FB4'],
7 plot_secret=True,
8 min_means=3,
9 nodecolor_dict=None,
10 ax=None,
11 figsize=(2,6),
12 fontsize=10,)
File ~/miniconda3/envs/omicverse/lib/python3.10/site-packages/omicverse/pl/_cpdb.py:479, in cpdb_interacting_heatmap(adata, celltype_key, means, pvalues, source_cells, target_cells, min_means, nodecolor_dict, ax, figsize, fontsize, plot_secret, return_table)
476 else:
477 row_ha=None
--> 479 cm = DotClustermapPlotter(corr_mat,x='level_1',y='level_0',value='means',
480 c='means',s='-logp',cmap='Reds',vmin=0,
481 top_annotation=col_ha,left_annotation=row_ha,
482 row_dendrogram=True,
483 show_rownames=True,show_colnames=True,)
484 cm.ax_heatmap.grid(which='minor',color='gray',linestyle='--')
...
1065 "finite values.")
1067 n = int(distance.num_obs_y(y))
1068 method_code = _LINKAGE_METHODS[method]
ValueError: The condensed distance matrix must contain only finite values.
However, other functions are working properly, including the regulatory network plot. It’s only the receptor-ligand heatmap that I cannot visualize. I have already removed NA values, but it still hasn’t worked.
The text was updated successfully, but these errors were encountered: