kbroman / qtl

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

Don't give error due to lack of class "map" #71

Closed kbroman closed 5 years ago

kbroman commented 5 years ago

summary.map() issues an error if the input doesn't have class "cross" or "map". This means you can't use the function with a plain list, even if it conforms perfectly fine.

Best just to make this a warning, as for plotMap().

Look for other functions like this.

kbroman commented 5 years ago

Fixed in this commit. Couldn't find any other instances of this.