kbroman / qtl

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

pull.argmaxgeno issue (4-way, include.pos.info =T) #52

Closed jtlovell closed 7 years ago

jtlovell commented 7 years ago

This is a bug report... it's not a big deal since one can easily get this information in other ways, but I figure I should report it.

data(fake.4way) fake.4way<-argmax.geno(fake.4way) test<-pull.argmaxgeno(fake.4way, include.pos.info=TRUE, rotate=TRUE)

Returns an erroneous mapping position for markers - likely because it turns the 2-row map matrix of a 4-way into a numeric vector.

kbroman commented 7 years ago

Fixed in this commit (in devel branch).