Entering edit mode
jka8119
▴
10
@jka8119-15080
Last seen 5.2 years ago
Hi,
I am getting an error tying to run GENIE3 on an single cell RNA seq expression matrix (15121x6477 numeric matrix):
> weightMatrix <- GENIE3(exprMatrix_filtered, regulators=inputTFs, nCores=24) Error in do.call("%dopar%", list(obj, ex), envir = parent.frame()) : could not find function "%dopar%"
I would appreciate help with this.
> sessionInfo()
R version 3.3.1 (2016-06-21) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Red Hat Enterprise Linux Server release 6.6 (Santiago) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] parallel stats graphics grDevices utils datasets methods base other attached packages: [1] GENIE3_1.0.0 RcisTarget.hg19.motifDatabases.20k_0.1.1 SCENIC_0.1.7 devtools_1.13.5 loaded via a namespace (and not attached): [1] Rcpp_0.12.16 knitr_1.20 magrittr_1.5 BiocGenerics_0.18.0 AUCell_0.99.5 doParallel_1.0.11 RcisTarget_0.99.0 xtable_1.8-2 [9] R6_2.2.2 doRNG_1.6.6 foreach_1.4.4 pkgmaker_0.26.11 stringr_1.3.0 httr_1.3.1 plyr_1.8.4 rngtools_1.2.4 [17] tools_3.3.1 Biobase_2.32.0 data.table_1.10.4-3 registry_0.5 git2r_0.21.0 withr_2.1.2 iterators_1.0.9 digest_0.6.15 [25] reshape2_1.4.3 codetools_0.2-15 curl_3.2 memoise_1.1.0 stringi_1.1.7 BiocInstaller_1.22.3
Resolved. Did not realize %dopar% is in the foreach package. foreach was not loaded; once it is, GENIE3 works.