thank you for your response. here is the code and the error massage.
qtl<- makeqtl(cross, chr=c(6,11,19,'X',8,5,1,3), pos=c(19.2, 474,68.7,344,268,538,1123,438))
formula_col_23_1 <- y~q1:q2+q1:q3+q1:q4+q1:q5+q1:q6+q1:q7+q1:q8
out.fq_col_23_1 <- fitqtl(cross, pheno.col = 23, qtl, formula=formula_col_23_1)
summary(out.fq_col_23_1)
addint(cross, pheno.col = 23, qtl = qtl, formula=formula_col_23_1, covar = Covariate)
Error in model.frame.default(formula = pheno ~ Xadjustment$sexpgmcovar, :
variable lengths differ (found for 'Xadjustment$sexpgmcovar')
In addition: Warning message:
In addint(cross, pheno.col = 23, qtl = qtl, formula = formula_col_23_1, :
Dropping 31 individuals with missing phenotypes.