cannot run pred <- SingleR(test = sce, ref = ref, labels = ref$label.fine, assay.type.test=1)
Error in rowAnyNAs(DelayedArray(x)) :
could not find symbol "useNames" in environment of the generic function
This error didn't occur when I used Seurat3. Now, I use Seurat4 and cannot figure out how to solve this problem.
cannot run
pred <- SingleR(test = sce, ref = ref, labels = ref$label.fine, assay.type.test=1)
Error in rowAnyNAs(DelayedArray(x)) : could not find symbol "useNames" in environment of the generic functionThis error didn't occur when I used Seurat3. Now, I use Seurat4 and cannot figure out how to solve this problem.