<div dir="ltr">Hello, <div>Thanks for your reply, I found some script written by Thibaut on this link:</div><div><br></div><div><a href="https://github.com/thibautjombart/adegenet/blob/master/R/orthobasis.R">https://github.com/thibautjombart/adegenet/blob/master/R/orthobasis.R</a></div><div><br></div><div>And it worked after running this so the problem is solved but as it says on the link - this may only be a temporary fix. </div><div><br></div><div>Thanks,</div><div>Josie </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 24, 2015 at 12:07 PM, Stéphane Dray <span dir="ltr"><<a href="mailto:stephane.dray@univ-lyon1.fr" target="_blank">stephane.dray@univ-lyon1.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
<br>
I am not sure about which function you used. The function in
adegenet seems to work (at least the example). If you used the
function included in 'sedarJombart' on R-Forge (that included also
the mspa function), this behavior is 'normal'. I will try to
include both mspa and global/local tests this afternoon in
adespatial.. It will solve the issues.<br>
<br>
Cheers<div><div class="h5"><br>
<br>
<br>
Le 22/08/2015 14:54, Josie Jackson a écrit :<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hello,
<div>I am trying to test if I have significant global structure
in my sPCA using the global rtest however I keep getting an
error saying could not find function orthobasis.listw. I see
that it has been removed from and put into adespatial. I have
updated R and installed adespatial but I am not sure how to
get it working again. </div>
<div>Any hints would be much appreciated!</div>
<div><br>
</div>
<div>script:</div>
<div>
<div>SnowyGtest <-
global.rtest(objSnowy1sbsp2$tab,mySpcaSnowy1sbsp2$lw, k = 1,
nperm=99)</div>
<div><br>
</div>
<div>Thanks very much,</div>
<div>Josie </div>
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">Josie D'Urban Jackson
<div><br>
<div>Ph.D student<br>
Department of Biology & Biochemistry<br>
University of Bath<br>
Claverton Down<br>
Bath </div>
<div>BA2 7AY<br>
United Kingdom<br>
</div>
<div><br>
</div>
<div>Cardiff University School of Biosciences, <br>
The Sir Martin Evans Building</div>
<div>Museum Avenue<br>
Cardiff</div>
<div>CF103AX<br>
United Kingdom<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
adegenet-forum mailing list
<a href="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank">adegenet-forum@lists.r-forge.r-project.org</a>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum</a></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
<pre cols="72">--
Stéphane DRAY (<a href="mailto:stephane.dray@univ-lyon1.fr" target="_blank">stephane.dray@univ-lyon1.fr</a>)
Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - Lyon I
43, Bd du 11 Novembre 1918, 69622 Villeurbanne Cedex, France
Tel: 33 4 72 43 27 57 Fax: 33 4 72 43 13 88
<a href="http://pbil.univ-lyon1.fr/members/dray/" target="_blank">http://pbil.univ-lyon1.fr/members/dray/</a>
</pre>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Josie D'Urban Jackson<div><br><div>Ph.D student<br>Department of Biology & Biochemistry<br>University of Bath<br>Claverton Down<br>Bath </div><div>BA2 7AY<br>United Kingdom<br></div><div><br></div><div>Cardiff University School of Biosciences, <br>The Sir Martin Evans Building</div><div>Museum Avenue<br>Cardiff</div><div>CF103AX<br>United Kingdom<br></div></div></div></div>
</div>