pheno.col=2, method="hk", max.qtl=10,
penalties=sawfly.cross.stepwise.peryellow.pen , verbose=T,
keeplodprofile=T, covar=head.covar, scan.pairs=F, keeptrace=T)
--Error in covar[!hasmissing, , drop = FALSE] : incorrect number of
dimensions
**I corrected this with the next piece of code
pheno.col=2, method="hk", max.qtl=10,
penalties=sawfly.cross.stepwise.peryellow.pen , verbose=T,
keeplodprofile=T, covar=as.data.frame(sawfly.cross$pheno$Head.Area),
scan.pairs=F, keeptrace=T)
The stepwise than ran and I got to the point where I got the warning
message I posted
about:Warning message:
In lastout[[i]] - (max(lastout[[i]]) - dropresult[rn == qn[i], 3]) :
longer object length is not a multiple of shorter object length
I proceeded to examine the output
sawfly.cross.stepwise.peryellow.stepqtl
QTL object containing genotype probabilities.
name chr pos n.gen
Q1 1 at 106.1 1 106.11 2
Q2 2 at 180.0 2 179.97 2
Q3 3 at 181.9 3 181.91 2
Q4 3 at 181.9 3 181.91 2
Q5 5 at 142.5 5 142.50 2
Formula: y ~ sawfly.cross$pheno$Head.Area + Q1 + Q2 + Q3 + Q4 + Q5 +
Q4:Q5
pLOD: 166.23
In my late night of googling, I did see that the warning can indicate that
dimensions of the arguments do not match, but I do not know how to
translate that to my data or output.
Thank you.
On Sat, May 23, 2015 at 3:36 AM, Uwe Ligges <ligges at statistik.tu-dortmund.de
wrote:
On 23.05.2015 01:07, Claire O'Quin wrote:
Hi There,
I am running a stepwise QTL for a backcross and got the following warning
message:
Warning message:
In lastout[[i]] - (max(lastout[[i]]) - dropresult[rn == qn[i], 3]) :
longer object length is not a multiple of shorter object length
So dimensions of the arguments may not match?
I can not discern what this means. When I created my plot, the QTL curve
on
chromosome 3 is very odd (tried attaching it), so I suspect that the
warning is connected to that odd curve plot.
I tried running the fitqtl just to see what would happen and got an error
(Error in solve.default(t(Z) %*% Z, t(Z) %*% X) : system is
computationally
singular: reciprocal condition number = 1.49755e-24).
Any thoughts about what is going on?
No, without knoing what the arguments and the actual code was.
Best,
Uwe Ligges
Thank you,
Claire
-----------------------------------
Claire O'Quin, PhD
Postdoctoral Research Scholar
University of Kentucky
http://www.linnenlab.com/home.html
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
-----------------------------------
Claire O'Quin, PhD
Postdoctoral Research Scholar
University of Kentucky
http://www.linnenlab.com/home.html
[[alternative HTML version deleted]]