Learn R Programming

randPedPCA (version 1.0.1)

pedMeta2: #' Example genotype data #' #' An genotype matrix (0/1/2) generated from an AlphaSimR simulation of 20 generations. #' An original population splits into sub-populations A and B. After a number of #' generations, crossbreeding starts. #' #' #' @format ## `pedGeno` #' Matrix of 2650 rows (inidividuals) and 11000 columns (SNPs) #' @source Simulation "pedGeno" Metadata associated with the 2nd example pedigree

Description

A dataframe.

Usage

pedMeta2

Arguments

Format

## `pedMeta2` A 'data.frame' of 2650 individuals (rows) with 12 variables (cols):

id

Integer individual ID

population

Population code. A, B or AB

generation

Generation of the individual

mid

dam ID

fid

sire ID

gv1

genetic value

pv1

phenotypic value

gv2

genetic value

pv2

phenotypic value

gv

genetic value

pv

phenotypic value

generationPlotShift

for plotting