kbroman / qtl

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

read.cross with type=“4way” needs to force sex-specific maps #87

Closed kbroman closed 3 years ago

kbroman commented 4 years ago
mycross_1 = read.cross(format=c("csv"),
+                        file="geneticMap_RupP_x_Ny84.csv",
+                        na.strings=c("-", "NA"),
+                        genotypes=c(NULL),
+                        estimate.map = FALSE,
+                        crosstype="4way")
 --Read the following data:
         245  individuals
         849  markers
         5  phenotypes
 --Cross type: 4way 

mycross <- calc.genoprob(mycross_1, step=0, off.end=0, error.prob=0.0001,
+                          map.function=c("kosambi"),
+                          stepwidth=c("fixed"))
Error in map[1, ] : incorrect number of dimensions
kbroman commented 3 years ago

Seems like this was fixed by this commit on 2020-10-21.

kbroman commented 3 years ago

Actually, seems like it was fixed 2019-03-20 by this commit.