Closed qianzach closed 7 months ago
Hi Zach,
If you are using Seurat v5, you can try to update the object by
library(SeuratObject)
data_S = SeuratObject::UpdateSeuratObject(data_S)
Then, change the following line in the first code block to
data_S@meta.data$celltype <- cluster_relabel[as.character(data_S$cluster)]
Hope this can solve the issue.
Best, Rihao
Hi,
I had a quick question regarding some of the code in your initial preprocessing of the seurat object in your walkthrough of the package.
It seems as if there is an issue with the assay when trying to find the top 500 highly variable genes, i.e. when we attempt to execute:
data_S <- FindVariableFeatures(data_S, nfeatures = 500)
As a result, the error I get is:
I can't seem to find the issue unfortunately. I would appreciate any assistance in working through this issue! As a reference, I'm using the
Matrix
1.6-5 and Seurat 5.0.2.Sincerely, Zach