Dear Karl,
| 1- comp Rqtl sma // WinQtlCart sma | ||||||||||||
|
||||||||||||
| 2- comp Rqtl im // WinQtlCart im | ||||||||||||
|
||||||||||||
Thanks for your kind words, and for the results comparing R/qtl to
WinQTLCart.
Regarding the issues with cross type and coding in RIL by selfing:
1. The data should be read in as if they were a backcross, but with
the 2nd homozygote genotype being treated as a heterozygote. Any
actual heterozygotes need to be treated as missing in R/qtl. If the
data file has genotypes coded AA/AB/BB, use read.cross, for a "csv"
file, like this:
mycross <- read.cross("csv", "", "mydata.csv", genotypes=c("AA","BB"),
na.strings=c("-","NA","AB"))
2. I recommend against the "gary" format. I don't think even Gary
Churchill (from which it comes) uses it any more.
3. If you read in the data and then change the cross type to
"riself" (or "risib"), run summary.cross, which we rely on for checks
of data integrity. It should issue a warning message about invalid
genotype codes.
Your comments are helpful. I think what I should do is add functions
convert2riself() and convert2risib(), to make the conversion from what
gets read in to riself/risib format. If the data had been imported as
an f2, these functions could convert the genotype codes appropriate,
and just issue a warning if there were heterozygote genotypes that got
removed.
Kind regards,
karl
-----------
Karl Broman
kbr...@gmail.com
http://www.biostat.wisc.edu/~kbroman
> <clip_image001.gif>
> 2- comp Rqtl im // WinQtlCart im
> <clip_image002.gif>