kbroman / qtl

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

plot.pxg gives error if one genotype group is missing #40

Closed kbroman closed 9 years ago

kbroman commented 9 years ago

Here's an example:

data(hyper)
hyper <- fill.geno(hyper)
class(hyper)[1] <- "f2"
plot.pxg(hyper, markernames(hyper)[1])