It sounds like you want to round 2 times the 36-state genoprobs. This will give you 0, 1 or 2 for most markers. But you will find markers where you’ll find three 1s instead of two, or all 0s.
Would that work for you?
Dan
--
You received this message because you are subscribed to the Google Groups "R/qtl2 discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
rqtl2-disc+...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/rqtl2-disc/c584c8e4-57fb-4180-8ce9-5c0432c4c984n%40googlegroups.com.
So, the rounding operation needs values multiplied by 2 to round correctly. Then you could divide the results by 2 and get back to a 0 to 1 range.
But, to clarify, I would NOT use that for linkage mapping. You should use the 8-state allele probabilities for mapping to reflect the uncertainty in the gentyping.
Dan
To view this discussion visit https://groups.google.com/d/msgid/rqtl2-disc/6659052a-8f68-4ee3-97ce-de38d45be359n%40googlegroups.com.