framePhenoRec: framePhenoRec function

Description Usage Arguments Details Value Examples

View source: R/AnalysisFunctions.R

Description

function to make a data.frame to be used as a source of data to analyze the phenotypic records

Usage

1
framePhenoRec(records, bsp)

Arguments

records

The breeding program records object. See fillPipeline for details

bsp

The breeding scheme parameter list

Details

records is a list of lists of populations and is primarily useful for maintaining the phenotypic observations across years and stages. For analysis, you need just the phenotypes in a matrix with relevant independent values

Value

A data.frame of phenotypic records with four columns: 1. The id of individuals; 2. The trial type of the phenotype record; 3. The year the observation was recorded; 4. The phenotypic value

Examples

1
phenoDF <- framePhenoRec(records, bsp)

jeanlucj/AlfSimHlpR documentation built on Nov. 7, 2021, 5:10 p.m.