rankSubjects: Ranks animals based on genetic value.

Description Usage Arguments Value Examples

View source: R/rankSubjects.R

Description

Part of Genetic Value Analysis Adds a column to rpt containing integers from 1 to nrow, and provides a value designation for each animal of "high value" or "low value"

Usage

1

Arguments

rpt

a list of data.frame req. colnames: value containing genetic value data for the population. Dataframes separate out those animals that are imports, those that have high genome uniqueness (gu > 10 have low mean kinship (mk < 0.25), and the remainder.

Value

A list of dataframes with value and ranking information added.

Examples

1
2
3
4
5
6
7
8
9
library(nprcgenekeepr)
finalRpt <- nprcgenekeepr::finalRpt
rpt <- rankSubjects(nprcgenekeepr::finalRpt)
rpt[["highGu"]][1, "value"]
rpt[["highGu"]][1, "rank"]
rpt[["lowMk"]][1, "value"]
rpt[["lowMk"]][1, "rank"]
rpt[["lowVal"]][1, "value"]
rpt[["lowVal"]][1, "rank"]

rmsharp/nprcmanager documentation built on April 24, 2021, 3:13 p.m.