[adegenet-forum] structure import error
Vikram Chhatre
crypticlineage at gmail.com
Wed Jul 1 20:01:07 CEST 2015
I am having trouble importing a structure dataset. Can someone decipher
this error message?
import2genind('data.str', onerowperind=F, row.marknames=1, n.ind=296,
n.loc=84761, col.lab=1, col.pop=2, ask=F)
Error in mat[, (ncol(mat) - p +1):ncol(mat)]:
only 0's may be mixed with negative subscripts.
I am able to read the data in R as a data frame and the dimensions are as
expected. The df2genind(data.str) conversion also works ok, except that it
reads the file as ONEROWPERIND=1, which is not what I want.
Thanks
Vikram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20150701/e2b0baff/attachment.html>
More information about the adegenet-forum
mailing list