We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a1dffe commit 9760171Copy full SHA for 9760171
singlecell/resources/chunks/MergeSeurat.R
@@ -30,7 +30,7 @@ mergeBatch <- function(dat) {
30
if (length(seuratObjects) == 1) {
31
print('There is only one seurat object, no need to merge')
32
datasetId <- names(seuratObjects)[[1]]
33
- saveData(seuratObjects[[datasetId]], datasetId)
+ saveData(readSeuratRDS(seuratObjects[[datasetId]]), datasetId)
34
} else {
35
batchSize <- 20
36
numBatches <- ceiling(length(seuratObjects) / batchSize)
0 commit comments