Hi everyone. Apologies if this has been answered already but I haven't been able to find a working solution yet. I am trying to run a pseudotime analysis with a v3 Seurat object which was integrated using harmony. The analysis runs fine until I try to convert the cell_data_set object back into a Seurat object using the "as.Seurat()" function. Upon running this code code:
I get the result:
Error in validObject(object = value) : invalid class "DimReduc" object: colnames for 'feature.loadings' must start with reduction key (PC_)
I confirmed that the Seurat object has colnames starting with "PC_", but when looking at the feature loadings from the cell_data_set object the colnames are all from the harmony reduction ("harmony_1", "harmony_2", ..., "harmony_50")
Trying to convert to a Seurat object manually ends up with no reductions at all (including the monocle3_pseudotime reduction). The results don't change upon updating the Seurat Object to v5 either.
Hi everyone. Apologies if this has been answered already but I haven't been able to find a working solution yet. I am trying to run a pseudotime analysis with a v3 Seurat object which was integrated using harmony. The analysis runs fine until I try to convert the cell_data_set object back into a Seurat object using the "as.Seurat()" function. Upon running this code code:
I get the result:
Error in validObject(object = value) : invalid class "DimReduc" object: colnames for 'feature.loadings' must start with reduction key (PC_)
I confirmed that the Seurat object has colnames starting with "PC_", but when looking at the feature loadings from the cell_data_set object the colnames are all from the harmony reduction ("harmony_1", "harmony_2", ..., "harmony_50")
Trying to convert to a Seurat object manually ends up with no reductions at all (including the monocle3_pseudotime reduction). The results don't change upon updating the Seurat Object to v5 either.
Has anyone else been able to work around this?