Hi Mariana,<br><br>I guess this is because you did not install the dependencies (see <span class="il">FAQ</span> N. 2, section &#39;contacts/FAQ&#39; of the Adegenet website):<br>Typing this should solve the problem:<br><br>


install.packages(&quot;<span class="il">adegenet</span>&quot;, dep=TRUE)<br>
<br>Sebastien.<br><br><div class="gmail_quote">On 29 March 2011 09:04, Mariana Varela <span dir="ltr">&lt;<a href="mailto:mv307@cam.ac.uk">mv307@cam.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi, I am trying to implement the seqTrack function and I get this error when I require adegenet:<br>
Failed with error:  ‘no item called &quot;newtable&quot; on the search list’<br>
In addition: Warning messages:<br>
1: In objects(newtable, all.names = TRUE) :<br>
  ‘newtable’ converted to character string<br>
2: In objects(newtable, all.names = TRUE) :<br>
  ‘newtable’ converted to character string<br>
<br>
then I get this when I try to execute seqTract:<br>
<br>
Error: could not find function &quot;seqTrack&quot;<br>
<br>
this is my code:<br>
<br>
seq &lt;- read.dna(&quot;106.fasta&quot;, format = &quot;fasta&quot;, as.matrix = FALSE)<br>
<br>
seq.dist &lt;- dist.dna(seq, model = &quot;N&quot;)<br>
<br>
print(seq.dist)<br>
<br>
seq.names &lt;- names(seq)<br>
numseq &lt;- length(seq.names)<br>
seq.times &lt;- rep(0, numseq)<br>
seq.times[grep(&quot;W2&quot;, seq.names)] &lt;- 2 * 7<br>
seq.times[grep(&quot;W12&quot;, seq.names)] &lt;- 12 * 7<br>
seq.dates &lt;- rep(as.POSIXct(&quot;2011-01-01&quot;), numseq)<br>
seq.dates &lt;- seq.dates + 60 * 60 * 24 * seq.times<br>
<br>
<a href="http://seq.st" target="_blank">seq.st</a> &lt;- seqTrack(as.matrix(seq.dist), seq.names, seq.dates)<br>
<a href="http://seq.st" target="_blank">seq.st</a><br>
<br>
I have this R version:<br>
R 2.12.1 GUI 1.35 Leopard build 32-bit (5665)<br>
<br>
Any suggestions?<br>
<br>
Many thanks<br>
<br>
Mariana Varela, DVM, PhD.<br>
University of Cambridge<br>
Department of Veterinary Medicine<br>
Madingley Road<br>
Cambridge<br>
CB3 0ES<br>
email: <a href="mailto:mv307@cam.ac.uk" target="_blank">mv307@cam.ac.uk</a><br>
tel: +44 (1223) 339042<br>
<br>
<br>
<br>
_______________________________________________<br>
adegenet-forum mailing list<br>
<a href="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank">adegenet-forum@lists.r-forge.r-project.org</a><br>
<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><br>
</blockquote></div><br>