recombination frequency #187
Replies: 4 comments 8 replies
-
@Anilkumargpb note that |
Beta Was this translation helpful? Give feedback.
-
Hi Gregor, Thanks for your response. I tried to change the recomination rate by modifying the genMap lengths. But, I could not verify the change in recombinations in the simulated populations. I really appreciate any thoughts on this. Thanks |
Beta Was this translation helpful? Give feedback.
-
Maybve count the number of recombination events? See for example #34 |
Beta Was this translation helpful? Give feedback.
-
@Anilkumargpb, here is an example script showing how you can double the length of the genetic map in an AlphaSimR simulation. Doubling the genetic map distance will double the expected number of recombinations. Note that this won't necessary double the recombination rate between loci, because the relationship between genetic distance and recombination rate is not linear. The genetic map distance between loci can be freely changed at any time during the simulation, but the physical ordering of the loci must remain the same.
|
Beta Was this translation helpful? Give feedback.
-
Hi
I want to double the recombination rate in the simulation. I am using the following code:
library(AlphasimR)
founderPop=importInbredGeno(geno = snp, genMap = GenMap, ped = NULL)
SP = SimParam$new(founderPop)
SP$setTrackRec(TRUE)
SP$setRecombRatio(2)
SP$importTrait(markerNames = qtleffects$marker,
addEff = qtleffects$aditiveEffect,
name = "Your_Trait")
SP$addSnpChip(10)
Parents = newPop(founderPop)
crossPlan<-matrix(c(1,2,3,4,5,2,3,4,5,1), nrow = 5, ncol = 2)
F1 = makeCross(Parents, crossPlan, simParam = SP)
DH=makeDH(F1, 150)
Geno_cycle1<-pullSegSiteGeno(DH)
The crossing plan is a kind of chain crossing. Please let me know, the code used is correct? how do I cross check?
Thanks
Anil
Beta Was this translation helpful? Give feedback.
All reactions