Open Ruba-Mahmoud opened 9 months ago
Hi, I got the same error but I could figure out that indeed there was duplicated gene names (ldat is a list of 3 so it does not have row names but the 3 matrices probably have):
lapply(ldat, function(m) {anyDuplicated(rownames(m))})
I have the impression that before there was an implicite make.unique
that was made when we generate seurat object:
Warning: Non-unique features (rownames) present in the input matrix, making unique
(Obtained with SeuratObject_4.1.3 Seurat_4.3.0)
After digging into the code, it appears that the new default assay is assay version 5 for which there is no 'make.unique'.
If you want to go back to the old version 3 use: options(Seurat.object.assay.version = 'v3')
and as.Seurat
will work (still I am not sure it is good to use make.unique and it would be probably better to have unique gene names before...).
Hello, first thank you for developing such great tools I am Ruba PhD student in Germany and I am doing scRNAseq analysis for my data, I wanted to check the velocity and so I generated the loom files by velacyto, I wanted to continue with Seurat with .r but unfortunately am facing some errors, I looked many published errors, tried to downgrade the Matrix Package (where Seurat didn't work anymore) I had to upgrade it again, the error am facing is | | 0%Error in validObject(.Object) : invalid class “LogMap” object: Duplicate rownames not allowed taking into account there's no duplicated rownames could somebody kindly look into it and give an advice if something could be done so I can go through the velocity analysis in the end.
thank you in advance
Kind regards!