Entering edit mode
17 months ago
Andy
▴
120
Hello,
I encountered a problem when I run fastMNN integration function.
My code:
scRNAlist <- list(x1, x2, x3, x4, x5, y1, z3, a1)
scRNAlist <- lapply(scRNAlist, FUN = function(x) NormalizeData(x))
scRNAlist <- lapply(scRNAlist, FUN = function(x) FindVariableFeatures(x))
seu_mnn <- RunFastMNN(object.list = scRNAlist)
Then the error occurs, and the message is:
Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) :
'x' must be atomic
I suppose I do not need to sort my scRNAlist, and I sort(scRNAlist) command, same error appeared.
I hope you could offer me some suggestions.
Thanks Andy