Learn R Programming

nprcgenekeepr (version 1.0.5)

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

Description

Filters a genetic value report down to only the specified animals

Usage

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

Run this code
# NOT RUN {
library(nprcgenekeepr)
rpt <- nprcgenekeepr::pedWithGenotypeReport$report
rpt1 <- filterReport(c("GHH9LB", "BD41WW"), rpt)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab