kbroman / qtl

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

Better error message from plotLodProfile() with null model #63

Closed kbroman closed 6 years ago

kbroman commented 6 years ago

When plotLodProfile() is called with a null model, the error message is as if there were a model but no lod profile information:

Error in plotLodProfile(out) :
  You must first run refineqtl, using keeplodprofile=TRUE

It'd be better to say "null QTL model; no profiles to plot."

kbroman commented 6 years ago

Fixed in this commit.