broadinstitute / infercnv

Inferring CNV from Single-Cell RNA-Seq
Other
557 stars 164 forks source link

Issues with "infercnv::add_to_seurat" function in infercnv analysis #660

Open MinxiaoYang opened 5 months ago

MinxiaoYang commented 5 months ago

Hi all,

I encountered error as below while I was running "infercnv::add_to_seurat" function. All previous steps ran pretty smoothly and I got all output files which were saved properly. I also double checked the cell names in both of Seurat object and infercnv object, and they matched up well. I have been struggling with infercnv for 3 weeks. Any thoughts, suggestions, or advice on this matter would be much appreciated!

Code: AECs_SeuratObj = infercnv::add_to_seurat(infercnv_output_path="inferCNV/AECs", seurat_obj=AECs, # optional, top_n=10)

Error: WARN [2024-04-30 14:57:52] ::Cell names in Seurat object and infercnv results do not match Error in infercnv::add_to_seurat(infercnv_output_path = "inferCNV/AECs", :