how to resolve this issue?

11 views
Skip to first unread message

Ian Bremen

unread,
Aug 30, 2021, 4:39:16 AMAug 30
to R/qtl discussion
Dear Karl, I am stuck with this error, dont know how to resolve it.

mapc <- read.cross("csv", file = "C:/Users/39351/Documents/newsetC.csv", genotypes=c("1", "2"), na.strings="--", estimate.map = FALSE)

Warning messages:

1: In read.cross.csv(dir, file, na.strings, genotypes, estimate.map,  :

  The following unexpected genotype codes were treated as missing.

    |NA|

 

In summary.cross(cross) :

  Some chromosomes > 1000 cM in length; there may be a problem with the genetic map.

  (Perhaps it is in basepairs?)
regards, 

Karl Broman

unread,
Aug 30, 2021, 8:30:23 AMAug 30
to R/qtl discussion
These are warning messages rather than errors, so you can just ignore them. The data were read, and the “mapc” object created.
But to avoid the first warning, you can use na.strings=c(“—“, “NA”)

karl

Ian Bremen

unread,
Aug 31, 2021, 11:48:20 AMAug 31
to R/qtl discussion
Thank you
Reply all
Reply to author
Forward
0 new messages