r big_dada_function
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了r big_dada_function相关的知识,希望对你有一定的参考价值。
big_dada <- function(X){
cat("Processing:", X, "\n")
cat("Derep F:", X, "\n")
derepF <- derepFastq(filtpathF[[X]])
cat("Inferring F:", X, "\n")
ddF <- dada(derepF, err=errF, multithread=TRUE)
cat("Derep R:", X, "\n")
derepR <- derepFastq(filtpathR[[X]])
cat("Inferring R:", X, "\n")
ddR <- dada(derepR, err=errR, multithread=TRUE)
cat("Merging:", X, "\n")
merger <- mergePairs(ddF, derepF, ddR, derepR)
return(list(merger = merger, dadaFs = ddF, dadaRs = ddR))
}
library(pbmcapply)
names(filtpathF) <- sample.names
names(filtpathR) <- sample.names
mergers_l <- pbmclapply(sample.names, big_dada, mc.cores = 16)
# names(mergers_l) <- sample.names
# dadaFs <- purrr::map(mergers_l, "dadaFs")
# dadaRs <- purrr::map(mergers_l, "dadaRs")
# mergers <- purrr::map(mergers_l, "merger")
以上是关于r big_dada_function的主要内容,如果未能解决你的问题,请参考以下文章
——R的数据组织
+-r, +-s 的所有排列
shinydashboard ui.R 和 server.R 未读取 Global.R
R语言计算回归模型R方(R-Squared)实战
r语言中r-studio怎么调用
R电子书资料《学习R》+《R语言实战第2版》+《R数据科学》学习推荐