From 15da88176127692e03fe6fd0bc708610ee90884a Mon Sep 17 00:00:00 2001 From: jiabowang Date: Mon, 18 Mar 2024 14:36:19 +0800 Subject: [PATCH] DeBUG with max(ns)/4,100 --- R/GAPIT.EMMAxP3D.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/GAPIT.EMMAxP3D.R b/R/GAPIT.EMMAxP3D.R index 0d6b406..52f1898 100644 --- a/R/GAPIT.EMMAxP3D.R +++ b/R/GAPIT.EMMAxP3D.R @@ -800,7 +800,7 @@ #print(paste("The value of is.na(CVI) is", is.na(CVI), sep = "")) # CVI may be > 1 element long #if(!is.na(CVI)){ - if(any(!is.NULL(CVI))) + if(any(!is.null(CVI))) { XCV=as.matrix(cbind(1,data.frame(CVI[,-1]))) #CV.Extragenetic specified @@ -822,7 +822,7 @@ }#end of any(!is.na(CVI)) # CVI may be > 1 element long. #if(is.na(CVI)) BLUE = NA - if(any(is.NULL(CVI))) BLUE = NA + if(any(is.null(CVI))) BLUE = NA }#end of i ==0 &file==file.from &frag==1 & !is.null(K) #--------------------------------------------------------------------------------------------------------------------> #--------------------------------------------------------------------------------------------------------------------<