Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve diff tissue composition #139

Merged
merged 10 commits into from
Jan 12, 2021
Merged
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
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ Suggests:
pasilla,
ggrepel,
devtools,
functional
functional,
immunedeconv
VignetteBuilder:
knitr
RdMacros:
Expand Down
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ importFrom(purrr,map)
importFrom(purrr,map2)
importFrom(purrr,map2_dfr)
importFrom(purrr,map_dfr)
importFrom(purrr,map_lgl)
importFrom(purrr,reduce)
importFrom(purrr,when)
importFrom(rlang,":=")
Expand Down Expand Up @@ -143,7 +144,10 @@ importFrom(stats,rnorm)
importFrom(stats,sd)
importFrom(stats,setNames)
importFrom(stats,terms)
importFrom(stringr,str_remove)
importFrom(stringr,str_replace)
importFrom(stringr,str_replace_all)
importFrom(stringr,str_split)
importFrom(tibble,as_tibble)
importFrom(tibble,tibble)
importFrom(tidyr,complete)
Expand Down
5 changes: 3 additions & 2 deletions R/cibersort.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ CoreAlg <- function(X, y, cores = 3){
}

#Execute In a parallel way the SVM
if(Sys.info()['sysname'] == 'Windows') out <- mclapply(1:svn_itor, res, mc.cores=1) else
out <- mclapply(1:svn_itor, res, mc.cores=cores) #lapply(1:svn_itor, res) #
if(Sys.info()['sysname'] == 'Windows') out <- mclapply(1:svn_itor, res, mc.cores=1)
else if(cores>1) out <- mclapply(1:svn_itor, res, mc.cores=cores)
else out <- lapply(1:svn_itor, res)

#Initiate two variables with 0
nusvm <- rep(0,svn_itor)
Expand Down
Loading