Learn R Programming

nprcgenekeepr (version 1.0.5)

orderReport: Order the results of the genetic value analysis for use in a report.

Description

Part of Genetic Value Analysis

Usage

orderReport(rpt, ped)

Arguments

rpt

a dataframe with required colnames id, gu, zScores, import, totalOffspring, which is a data.frame of results from a genetic value analysis.

ped

the pedigree information in datatable format with required colnames id, sire, dam, gen, population). This requires complete pedigree information..

Value

A dataframe, which is rpt sorted according to the ranking scheme:

  • imported animals with no offspring

  • animals with genome uniqueness above 10

  • animals with mean kinship less than 0.25, ranked by ascending mk

  • all remaining animals, ranked by ascending mk

Details

Takes in the results from a genetic value analysis and orders the report according to the ranking scheme we have developed.