filterReport: Filters a genetic value report down to only the specified...

Description Usage Arguments Value Examples

View source: R/filterReport.R

Description

Filters a genetic value report down to only the specified animals

Usage

1
filterReport(ids, rpt)

Arguments

ids

character vector of animal IDs

rpt

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

Value

A copy of report specific to the specified animals.

Examples

1
2
3
library(nprcgenekeepr)
rpt <- nprcgenekeepr::pedWithGenotypeReport$report
rpt1 <- filterReport(c("GHH9LB", "BD41WW"), rpt)

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