Hello,
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<-.data.frame
(*tmp*
, value = value)
5. row.names<-
(*tmp*
, value = value)
4. rownames<-
(*tmp*
, value = unlist(lapply(map, names)))
3. map2table(pull.map(cross, as.table = FALSE))
2. pull.map(cross, as.table = TRUE)
- pull.rf(mapthis)
Thanks