<div dir="ltr">I get the following Error Message when I attempt to convert a STRUCTURE file to a genind object:<div><br></div><div><div>Converting data from a STRUCTURE .stru file to a genind object... </div><div><br></div><div>Error in mat[, (ncol(mat) - p + 1):ncol(mat)] : </div><div> only 0's may be mixed with negative subscripts</div><div>> traceback()</div><div>2: read.structure(file, missing = missing, quiet = quiet, ...)</div><div>1: import2genind("Bird.str")</div><div><br></div><div>I've looked through the data and everything is in order, this runs fine in STRUCTURE and I've never had problems importing STRUCTURE files before.</div><div><br></div><div>Just for the record this is SNP data in haploid format where G,C,A,T is coded for as 1,2,3,4 respectively.</div><div><br></div><div>Any help would be greatly appreciated!</div><div><br></div><div>-Spencer</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Spencer A Bruce<div>113 Hill St. </div><div>Troy, NY 12180<br>518 225 0787</div></div></div>
</div></div>