mergePops | R Documentation |
Rapidly merges a list of populations into a single population
mergePops(popList)
popList |
a list containing |
Returns a Pop-class
#Create founder haplotypes
founderPop = quickHaplo(nInd=10, nChr=1, segSites=10)
#Set simulation parameters
SP = SimParam$new(founderPop)
#Create a list of populations and merge list
pop = newPop(founderPop, simParam=SP)
pop@misc$tmp = rnorm(n=10)
pop@misc$tmp2 = rnorm(n=10)
popList = list(pop, pop)
pop2 = mergePops(popList)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.