There is a typo in lines 27-28 of the most recent update to the Improved_Seurat_Pre_Process() function.
In Seurat 4 scaled data is located here seuratObject@assays[["RNA"]]@scale.data, whereas the code below is directed to seuratObject@assays[["RNA"]]@scaled.data.
Hi Erica,
There is a typo in lines 27-28 of the most recent update to the
Improved_Seurat_Pre_Process()
function.In Seurat 4 scaled data is located here
seuratObject@assays[["RNA"]]@scale.data
, whereas the code below is directed toseuratObject@assays[["RNA"]]@scaled.data
.Otherwise the new updates work well.
Best,
Darren