kbroman / qtl

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

have lodint and bayesint give more informative errors #79

Closed kbroman closed 5 years ago

kbroman commented 5 years ago

If you give a chromosome that is not within the scanone object, lodint() and bayesint() will give an error message like

Error in lodint(out, "c4") : Chromosome misspecified.

Better to say something like "Chromosome c4 not found."