Closed zhuyewen closed 7 months ago
Hi.
We have this notebook on how to convert your seurat object for CellPhoneDB. Other option, can be the use of sceasy
to convert from seurat to scanpy.
Kind regards
Hi,
Also, you can use the strategies mentioned here (how-to-extract-the-cellphonedb-input-files-from-a-seurat-object) to convert Seurat objects into formats accepted by CellPhoneDB.
Best
Luz
Hello, cellphonedb team!
Thank you very much for open sourcing such a great single cell tool. I have been using it from 3.0 until now 4.0 and it has helped me a lot.
But in the recent 4.0, I have encountered some problems. I can work fine using the data you provided. But when using my own data, it prompts an error.
I input these data like this:
And I got this error
ParseCountsException: Invalid Counts data
Here's how I generated the expression matrix file in Rstudio
I am not sure if there is something wrong with the code I used to generate the h5ad file, if so could you please provide the code on how to generate that file using R language?
I browsed through all the issues and found no similar questions or answers. I hope you have time to tell me how to generate h5ad from Seurat object by R, and hopefully provide a solution for people who encounter the same problem later. Thanks a lot.
My platform: MacOs13.3, Apple M1 Ultra, R version 4.3.0, python = 3.8
Best regard
Yewen Zhu