This is the code that I want to run:
Aldh1l1.neg_Atp1b2.pos_new <- FindNeighbors(Aldh1l1.neg_Atp1b2.pos_new, dims = 1:10)
But it doesn't work due to this error:
Error in validityMethod(as(object, superClass)) :
object 'CsparseMatrix_validate' not found
I have already reinstalled the Seurat and Matrix packages several times. I have even reinstalled RStudio once.
The call stack looks like this:
> traceback()
15: validityMethod(as(object, superClass))
14: isTRUE(x)
13: anyStrings(validityMethod(as(object, superClass)))
12: validObject(.Object)
11: .nextMethod(.Object = .Object, ... = ...)
10: callNextMethod()
9: initialize(value, ...)
8: initialize(value, ...)
7: new(Class = "Graph", i = c(0L, 62L, { ... TRUNCATED ... }
6: do.call(what = "new", args = object.list)
5: UpdateSlots(object = object)
4: `DefaultAssay<-.Graph`(object = `*tmp*`, value = assay)
3: `DefaultAssay<-`(object = `*tmp*`, value = assay)
2: FindNeighbors.Seurat(Aldh1l1.neg_Atp1b2.pos_new, dims = 1:10)
1: FindNeighbors(Aldh1l1.neg_Atp1b2.pos_new, dims = 1:10)