gv | R Documentation |
A wrapper for accessing the gv slot
gv(pop)
pop |
a |
#Create founder haplotypes
founderPop = quickHaplo(nInd=10, nChr=1, segSites=10)
#Set simulation parameters
SP = SimParam$new(founderPop)
SP$addTraitAD(10, meanDD=0.5)
SP$setVarE(h2=0.5)
#Create population
pop = newPop(founderPop, simParam=SP)
gv(pop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.