kbroman / qtl

R/qtl: A QTL mapping environment
https://rqtl.org
GNU General Public License v3.0
77 stars 45 forks source link

scanone gives misleading error message when phenotype is not numeric #64

Closed kbroman closed 6 years ago

kbroman commented 6 years ago

scanone() gives a misleading error message when the phenotype is not numeric. If you indicate a single phenotype column, it will give the same error message no matter which one you choose:

Error in checkcovar(cross, pheno.col, addcovar, intcovar, perm.strata,  :         
   Following phenotypes are not numeric: Column 1
kbroman commented 6 years ago

Fixed in this commit.