changeset 3:e2fcf5a4609c draft

planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 51ea950c5c71f2cc8f45bc56cc5609ee7a12a3df
author davidecangelosi
date Mon, 06 May 2019 05:54:37 -0400
parents 6cd22b1fbf6d
children e248cd7769e8
files pipe-t.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pipe-t.R	Mon May 06 05:37:40 2019 -0400
+++ b/pipe-t.R	Mon May 06 05:54:37 2019 -0400
@@ -735,7 +735,7 @@
 
 cat("\n Data filtered correctly! \n")
 
-if (is.na(exprs(qFiltNAs))){
+if (anyNA(exprs(qFiltNAs))){
 switch(imputeMethod,
     "knn"={
      imp<-impute.knn(exprs(qFiltNAs) ,k = as.integer(kappa), maxp = as.integer(macsp), rng.seed=362436069)