使用DoubletFinder的summarizeSweep时报错
运行代码
Hb <- readRDS(file = "F:/....../Hb.rds") #已进行NormalizeData、FindVariableGenes、ScaleData、RunPCA和RunTSNE等)
sweep.res.list <- paramSweep(Hb, PCs = 1:30, sct = T)
sweep.stats <- summarizeSweep(sweep.res.list, GT = FALSE)
报错信息
错误于getGlobalsAndPackages(expr, envir = envir, globals = globals):
The total size of the 19 globals exported for future expression (‘FUN()’) is 518.36 MiB.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). The three largest globals are ‘FUN’ (498.79 MiB of class ‘function’), ‘umi_bin’ (19.21 MiB of class ‘numeric’) and ‘data_step1’ (285.73 KiB of class ‘list’)
此外: 警告多于50个(用warnings()来显示第一个到第50个)