Skip to contents

Extends RawPop-class with sex, genetic values, phenotypes, and pedigrees.

Usage

# S4 method for class 'Pop,ANY,ANY,ANY'
x[i]

# S4 method for class 'Pop'
c(x, ...)

# S4 method for class 'Pop'
show(object)

# S4 method for class 'Pop'
length(x)

Arguments

x

a Pop object

i

index of individuals

...

additional Pop objects

object

a Pop object

Methods (by generic)

  • x = Pop[i = ANY, j = ANY, drop = ANY]: Extract Pop by index or id

  • c(Pop): Combine multiple Pops

  • show(Pop): Show population summary

  • length(Pop): Number of individuals in Pop (the same as nInd())

Slots

id

an individual's identifier

iid

an individual's internal identifier

mother

the identifier of the individual's mother

father

the identifier of the individual's father

sex

sex of individuals: "M" for males, "F" for females, and "H" for hermaphrodites

nTraits

number of traits

gv

matrix of genetic values. When using GxE traits, gv reflects gv when p=0.5. Dimensions are nInd by nTraits.

pheno

matrix of phenotypic values. Dimensions are nInd by nTraits.

ebv

matrix of estimated breeding values. Dimensions are nInd rows and a variable number of columns. The variable number of columns enables storing estimates for different traits and/or for different kinds of values per individual (for example, estimated breeding values and estimated genetic values, etc.). Column names should be used to distinguish the estimates of traits and values when comparing them to true genetic values in gv slot. See also the misc slot.

gxe

list containing GxE slopes for GxE traits

fixEff

a fixed effect relating to the phenotype. Used by genomic selection models but otherwise ignored.

misc

a list whose elements correspond to additional miscellaneous nodes with the items for individuals in the population (see example in newPop) - we support vectors and matrices or objects that have a generic length and subset method. This list is normally empty and exists solely as an open slot available for users to store extra information about individuals.

miscPop

a list of additional miscellaneous data for the population (see example in newPop). This list is empty unless information is supplied by the user. Note that the list is emptied every time the population is subsetted or combined because the meta data for the old population might not be valid anymore.