I am running a stepwise QTL for a backcross and got the following warning message at the end of my stepwise run:
Warning message:
In lastout[[i]] - (max(lastout[[i]]) - dropresult[rn == qn[i], 3]) :
longer object length is not a multiple of shorter object length
Unfortunately, I have no clue what this means and how to make adjustments to correct the issue. 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.
Additionally, 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?
I will note that I am trying to run a covariate with my analysis. I created: head.covar <- pull.pheno(sawfly.cross, pheno.col=19) and used addcovar=head.covar when running my permutations. However, when I tried to use that same code in my stepwise qtl, I had to adjust it to covar=sawfly.cross$pheno$Head.Area because I got an error saying it had an incorrect number of dimensions. I don't know if this is related to my problem.
Thank you,
Claire