Learn R Programming

AlphaSimR (version 1.6.0)

cChr: Combine MapPop chromosomes

Description

Merges the chromosomes of multiple MapPop-class or NamedMapPop-class objects. Each MapPop must have the same number of chromosomes

Usage

cChr(...)

Value

Returns an object of MapPop-class

Arguments

...

MapPop-class or NamedMapPop-class objects to be combined

Examples

Run this code
pop1 = quickHaplo(nInd=10, nChr=1, segSites=10)
pop2 = quickHaplo(nInd=10, nChr=1, segSites=10)

combinedPop = cChr(pop1, pop2)

Run the code above in your browser using DataLab