How do I read a doubled haploid population into R QTL using the read.cross function from mapmaker type of input (R version 3.2.1 and R/QTL version 1.38-4)

415 views
Skip to first unread message

Rudie Antonise

unread,
Feb 19, 2016, 8:50:53 AM2/19/16
to R/qtl discussion

The function read.cross fails to import the data (in mapmaker format) when I assign a DH population in the header of a mapmaker output. To solve this I used  “bc” in the header of the file and crosstype=”dh” in the read.cross function. The genotypes are coded as “A’ and “B” in the original file. In this way I was able to loaded the file, but based on the QTL mapping results it seems that something is going wrong with the interpolation which seems to point to wrong assumptions / scores. I obtained I large signals when using the interval mapping method and almost no signal from marker regression. The crosstype loaded is a “doubled haploid” (checked by asking for crosstype). 

 

When I re-code the original genotype data file to A/H instead of A/B following the same procedure the results seem much more sensible, comparable results for interval mapping and marker regression.

What is this the correct way to approach a DHs (using mapmaker format), to make sure the scores are loaded correct and obtain the correct estimated effects?


 

Karl Broman

unread,
Feb 19, 2016, 11:00:01 AM2/19/16
to rqtl...@googlegroups.com
I've not seen mapmaker files for doubled haploids, so read.cross() with format="mm" only works for backcross or intercross.

I'd recommend calling it a backcross (and changing the genotype codes at the top to pretend that the BB's are hets) and then converting to doubled haploids afterwards.

mycross <- read.cross( .... )
class(mycross)[1] <- "dh"

karl
> --
> You received this message because you are subscribed to the Google Groups "R/qtl discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rqtl-disc+...@googlegroups.com.
> To post to this group, send email to rqtl...@googlegroups.com.
> Visit this group at https://groups.google.com/group/rqtl-disc.
> For more options, visit https://groups.google.com/d/optout.

Rudie Antonise

unread,
Feb 22, 2016, 9:18:10 AM2/22/16
to R/qtl discussion
Hello Karl,
Thanks for the information
Rudie

Op vrijdag 19 februari 2016 17:00:01 UTC+1 schreef Karl Broman:
Reply all
Reply to author
Forward
0 new messages