Learn R Programming

AlphaSimR (version 0.10.0)

RawPop-class: Raw Population

Description

The raw population class contains only genotype data.

Usage

# S4 method for RawPop
[(x, i)

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

Arguments

x

a 'RawPop'

i

index of individuals

...

additional 'RawPop' objects

Methods (by generic)

  • [: Extract RawPop by index

  • c: Combine multiple RawPops

Slots

nInd

number of individuals

nChr

number of chromosomes

ploidy

level of ploidy

nLoci

number of loci per chromosome

geno

"matrix" containing chromosome genotypes. The "matrix" has dimensions nChr by 1 and each element is a three dimensional array of raw values. The array dimensions are nLoci by ploidy by nInd.