Closed shenhanjing closed 4 months ago
As some additions:
The input files are generated in R by the following method.
# R
# ztt.immune_cells is a seuratObj (version: seurat=v5.0.1)
immune_meta <- ztt.immune_cells@meta.data %>%
rownames_to_column("Cell") %>%
select(Cell,celltype)
write.table(immune_meta, paste0(immune_cells_out_path, 'immune_meta.txt'), sep='\t', quote=F, row.names=F)
## save seuratObj as .h5ad file
library(SeuratData)
library(SeuratDisk)
options(Seurat.object.assay.version = "v3")
ztt.immune_cells_v3 = CreateSeuratObject(counts = GetAssayData(ztt.immune_cells, assay="RNA", layer = "counts"),
#data = GetAssayData(seurat.all.cc, assay="RNA", layer = "data"),
meta.data = ztt.immune_cells@meta.data)
SaveH5Seurat(ztt.immune_cells_v3, filename = paste0(immune_cells_out_path, "immune_count.h5Seurat"), overwrite = TRUE)
Convert(paste0(immune_cells_out_path, "immune_count.h5Seurat"), dest = "h5ad", overwrite = TRUE)
Hi @shenhanjing,
To be able to debug the issue, could you send the input files you are using to contact@cellphonedb.org? If the files are too big to share via email, you can also send us the link to access them.
Best, Batu
Hi @cakirb ,
The input file has been sent to your email, please check it.
Thanks, Hanjing
Hi @shenhanjing,
Sorry about the delay! Before your error message, the function shows that no CellphoneDB interactions could be found. And when we checked your input object, we found out that it includes mouse genes. We explicitly advise users to use human genes, or convert the genes from different species to their corresponding human orthologues. You can check details in our documentation: https://cellphonedb.readthedocs.io/en/latest/RESULTS-DOCUMENTATION.html#counts-file
Hope this helps!!
Best, Batu
Hi @shenhanjing,
Sorry about the delay! Before your error message, the function shows that no CellphoneDB interactions could be found. And when we checked your input object, we found out that it includes mouse genes. We explicitly advise users to use human genes, or convert the genes from different species to their corresponding human orthologues. You can check details in our documentation: https://cellphonedb.readthedocs.io/en/latest/RESULTS-DOCUMENTATION.html#counts-file
Hope this helps!!
Best, Batu
Thank you for your reply. It works now.
hello,
I'm running my data on cpdb_statistical_analysis_method.call() function.
I got the following error.
Could you please explain the reason of this error?
Thx : )