<div dir="ltr">Dear Dr. Jombart and Adegenet users,<div><br></div><div>I am trying to use the global and local test to interpret sPCA results. However, I am getting the following error message:</div><div><br></div><div><div>
> Ebom.Gtest<-global.rtest(Ebom_adeg,Ebom.spca$lw,nper=99)</div><div>Error in if (any(temp)) { : missing value where TRUE/FALSE needed</div><div>In addition: Warning message:</div><div>In <a href="http://is.na">is.na</a>(X) : <a href="http://is.na">is.na</a>() applied to non-(list or vector) of type 'S4'</div>
</div><div><br></div><div>Any feedback on what the problem is would be greatly appreciated.</div><div><br></div><div>Thanks in advance for your help!</div><div><br></div><div>Margarita</div><div><br></div></div>