modelling genetically correlated traits #97
-
I have setup the SP and used the SP$addTraitA to generate the traits; SP$addTraitA(nQtlPerChr=nQTL, mean = c(85, 200, 40, 850, 85, 200, 40, 850), var = Vg, corA=rho) add error variance as function of heritability
founders <- newPop(founderPop) rho is an 8X8 correlation matrix where the correlation between some of the traits (such as trait 1 and 5) is really high (0.9). But the when I try to see if indeed the genetic correlation between trait 1 and trait 5 is really 0.9, I used; why is that? I appreciate your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@mahlet-teka this can indeed happen, but it will be highly dependent on sample size - number of individuals, number of chromosomes and QTL. If you simulate few individuals, chromosomes, and QTL you can get quite a bit of deviation from the targeted correlation. Maybe you expand your code with just two traits and show your numbers of chromosomes, QTL, and individuals. I think this is an important example that can benefit others in the community too. |
Beta Was this translation helpful? Give feedback.
@mahlet-teka this can indeed happen, but it will be highly dependent on sample size - number of individuals, number of chromosomes and QTL. If you simulate few individuals, chromosomes, and QTL you can get quite a bit of deviation from the targeted correlation. Maybe you expand your code with just two traits and show your numbers of chromosomes, QTL, and individuals. I think this is an important example that can benefit others in the community too.