meanEBV | R Documentation |
Returns the mean estimated breeding values for all traits
meanEBV(pop)
pop |
an object of |
#Create founder haplotypes
founderPop = quickHaplo(nInd=10, nChr=1, segSites=10)
#Set simulation parameters
SP = SimParam$new(founderPop)
SP$addTraitA(10)
trtH2 = 0.5
SP$setVarE(h2=trtH2)
#Create population
pop = newPop(founderPop, simParam=SP)
pop@ebv = trtH2 * (pop@pheno - meanP(pop)) #ind performance based EBV
meanEBV(pop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.