mmollina / mappoly2

Genetic Linkage Maps in Autopolyploids v 2.0
MIT License
6 stars 3 forks source link

Error in hclust(as.dist(MSNP), method = "ward.D2", members = apply(Mlod, : invalid length of members #3

Closed dozhun closed 4 months ago

dozhun commented 4 months ago

Dear Mollinari, Thanks for your developing excellent software in polyploid genetics. I'm trying to build a genetic map of sweet potato using mappoly2 latest, and after using rf_filter(px.f1.all, thresh.LOD.ph = 5, thresh.LOD.rf = 5, thresh.rf = 0.15, probs = c(0.05, 0.9)), then running group(x = px.f1.all, expected.groups = 5, comp.mat = TRUE, inter = TRUE, LODweight = TRUE)", returns "Error in hclust(as.dist(MSNP), method = "ward.D2", members = apply(Mlod, : invalid length of members", is this an unknown bug and is there any suggestion to solve it? Bestly, Jun Zhang