Closed elainarose97 closed 11 months ago
hi @elainarose97, would you be able to try installing the upcoming release version of ktplotspy
and see if it helps?
pip install git+https://www.github.com/zktuong/ktplotspy@prep_for_v5
Hi thanks for getting back to me! I was able to install the latest version, but now I am getting a new error message after running the same command.
TypeError Traceback (most recent call last)
Cell In[9], line 1
----> 1 kpy.plot_cpdb_heatmap(adata, pvals=pvals, celltype_key = "celltype", degs_analysis=True, figsize=(5, 5), title="Sum of significant interactions")
TypeError: plot_cpdb_heatmap() got multiple values for argument 'pvals'
Oh yea. There's no need to supply adata into the function anymore.
I see, but after removing adata from the function, it went back to the original error message.
ValueError: operands could not be broadcast together with shapes (11,12) (12,11)
Would you be able to send me a version of your file so i can see what's going on? You can send to z.tuong@uq.edu.au
Yes, I just did. Thanks
I am trying to run the plot_cpdb_heatmap function on the output of CellPhoneDB method 3. I used the relevant_interactions.txt for the pvals argument as recommended in the R documentation. Here is the command I used:
It created this error:
I had no problem using Method 2 output without the degs_analysis argument.