Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
Please refer to [DeltaNeTS+ manuscript](https://www.biorxiv.org/content/10.1101/788968v1) for more detailed information.

### DeltaNeTS+ installation
To install `DeltaNeTS+` directly from github repository, `devtools` R package is required.
To install `DeltaNeTS+` directly from github repository, `devtools`, `doSNOW`and `glmnet` R packages are required.

1. Install and load `devtools` package in R.
2. Install the package called `deltanetsPlus`, using `devtools::install_github("CABSEL/DeltaNeTSplus/deltanetsPlus")`. Your package will e inatalled in R library directory.
1. Install and load `devtools`, `doSNOW`and `glmnet` packages in R.
2. Install the package called `deltanetsPlus`, using `devtools::install_github("CABSEL/DeltaNeTSplus/deltanetsPlus")`. Your package will be installed in R library directory.
3. Load the package, using `library(deltanetsPlus)`, and now you're ready to use!


Expand Down
2 changes: 2 additions & 0 deletions deltanetsPlus/R/deltanetsPlus.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ deltanetsPlus <- function(data, slope=NULL, grn=NULL, perturbation=c("group","in
cl <- snow::makeCluster(numClusters,outfile='')
# registerDoParallel(cl)
registerDoSNOW(cl)
#export libraries to all workers
clusterCall(cl, function(x) .libPaths(x), .libPaths())

## progress bar in parallel computing
pb <- txtProgressBar(max=length(dgi), style=3)
Expand Down