[adegenet-forum] Question about seploc error: "Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array extent"
Roman Luštrik
roman.lustrik at biolitika.si
Sat Dec 2 12:02:37 CET 2017
Sorry for the late reply. Can you make a small subset of your data which demonstrates this problem?
----
In god we trust, all others bring data.
From: "Rob Syme" <rob.syme at gmail.com>
To: adegenet-forum at lists.r-forge.r-project.org
Cc: "muhammadqudratullah farooqi" <muhammadqudratullah.farooqi at uwa.edu.au>
Sent: Monday, November 20, 2017 10:41:11 AM
Subject: [adegenet-forum] Question about seploc error: "Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array extent"
In trying to run seploc on a genind object (output from gl.read.silicodart from dartR v0.93), I get the error:
>is.genind(gl)
[1] TRUE
> seploc(gl)
Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array extent
10.
`colnames<-`(`*tmp*`, value = seq(ncol(tab)))
9.
.local(.Object, ...)
8.
initialize(value, ...)
7.
initialize(value, ...)
6.
new("genind", ...)
5.
FUN(X[[i]], ...)
4.
lapply(kX, genind, pop = x at pop, prevcall = prevcall, ploidy = x at ploidy, type = x at type)
3.
.local(x, ...)
2.
seploc(gl)
1.
seploc(gl)
Is there any way we can track down what peculiarity of our input data is causing the error?
Thanks
Rob Syme
Curtin University
_______________________________________________
adegenet-forum mailing list
adegenet-forum at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20171202/e425107c/attachment.html>
More information about the adegenet-forum
mailing list