diff --git a/DESCRIPTION b/DESCRIPTION index 5987c4c9..d711dbd1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: netZooR Title: netZooR integrates tools for the inference and analysis of gene regulatory networks. -Version: 1.0.3 +Version: 1.0.4 Date: 2021-09-20 Authors@R: c(person("Marouen", "Ben Guebila", email = "benguebila@hsph.harvard.edu", role = c("aut","cre")), diff --git a/R/CRANE.R b/R/CRANE.R index 79f8fe90..4f8e6e72 100644 --- a/R/CRANE.R +++ b/R/CRANE.R @@ -110,7 +110,7 @@ alpacaCrane = function(input,alp,alpha=0.1,beta=0,iteration=30,isParallel=F){ tstat=c() if (identical(names(alp[[2]]),rownames(df))){ for (i in 1:nrow(df)){ - if (rownames(df)[i]==""){ + if (rownames(df)[i]=="" || sd(df[i,])==0){ isSig=c(isSig,NA) next } diff --git a/docs/404.html b/docs/404.html index fcc371b3..40cee443 100644 --- a/docs/404.html +++ b/docs/404.html @@ -71,7 +71,7 @@ netZooR - 1.0.1 + 1.0.4 @@ -171,7 +171,7 @@

Contents