Error in R/QTL code


I am working with R/QTL package with the ultimate goal of generating a genetic map. This is my first time working with R and I am stuck at an error. Please let me know what could be the problem. I have some code before the following code which I can share if required.

rf.(mapthis) <- pull.rf(mapthis)
lod.(mapthis) <- pull.rf(mapthis, what="lod")
plot(as.numeric(rf), as.numeric(lod), xlab="Recombination fraction", ylab="LOD score")

Error in .rowNamesDF<-(x, value = value) : duplicate 'row.names' are not allowed
8. stop("duplicate 'row.names' are not allowed")
7. .rowNamesDF<-(x, value = value)
6. row.names<*tmp*, value = value)
5. row.names<-(*tmp*, value = value)
4. rownames<-(*tmp*, value = unlist(lapply(map, names)))
3. map2table(, as.table = FALSE))
2., as.table = TRUE)

  1. pull.rf(mapthis)


A reprex may help attract answers.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.