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"
rankSubjects(rpt)
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. |
---|
A list of dataframes with value and ranking information added.
# \donttest{ library(nprcgenekeepr) finalRpt <- nprcgenekeepr::finalRpt rpt <- rankSubjects(nprcgenekeepr::finalRpt) rpt[["highGu"]][1, "value"]#> [1] "High Value"rpt[["highGu"]][1, "rank"]#> [1] 1rpt[["lowMk"]][1, "value"]#> [1] "High Value"rpt[["lowMk"]][1, "rank"]#> [1] 122rpt[["lowVal"]][1, "value"]#> [1] "Low Value"rpt[["lowVal"]][1, "rank"]#> [1] 190# }