原代码是:
chipqcList <- bplapply(1:length(allBams),function(x){ChIPQCsample(allBams[x],allPeaks[x],blacklist = blacklist,annotation = mm10Annotation,chromosomes = paste0("chr",1:10))})
出错:
错误: BiocParallel errors
4 remote errors, element index: 1, 3, 4, 5
2 unevaluated and other errors
first remote error: 没有"ChIPQCsample"这个函数
然后改了:
chipqcList <- bplapply(1:length(allBams),function(x){ChIPQC::ChIPQCsample(allBams[x],allPeaks[x],blacklist = blacklist,annotation = mm10Annotation,chromosomes = paste0("chr",1:10))})
还是出错:
错误: BiocParallel errors
4 remote errors, element index: 1, 3, 4, 5
2 unevaluated and other errors
first remote error: 找不到对象'allPeaks'
我真的搞不定了啊。求各位说说原理是什么,为何会有第一第二的错误,是名字问题吗?