Learn R Programming

AlphaSimR (version 0.10.0)

MapPop-class: Raw population with genetic map

Description

Extends RawPop-class to add a genetic map. This is the first object created in a simulation. It is used for creating initial populations and setting traits in the SimParam.

Usage

# S4 method for MapPop
[(x, i)

# S4 method for MapPop c(x, ...)

Arguments

x

a 'MapPop'

i

index of chromosomes

...

aditional 'MapPop' objects

Methods (by generic)

  • [: Extract MapPop by index

  • c: Combine MapPop chromosomes

Slots

genMap

"matrix" of chromsome genetic maps

centromere

vector of centromere positions