kbroman / qtl

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

summary.scanone error with threshold as a vector #102

Closed kbroman closed 11 months ago

kbroman commented 1 year ago

In summary.scanone(), the argument threshold can be a vector, but this is only when format is not "onepheno" (the default). When threshold has length > 1, we get a warning and potentially an error. Need to subset the threshold to the first value.

See this post on the R/qtl discussion list.