collectTrioScores: Collect all the scores for possible parents for an offspring.

Description Usage Arguments

View source: R/collectTrioScores.R

Description

This takes a single offspring and a list of potential dams and a list of potential dams and calculates the number of loci with alleles missingLoci for each sire and dam, the number of invalidLoci loci for the offspring. Note: invalidLoci loci for the offspring are defined the same as missingLoci loci for potential parents; they are loci with no observed alleles.

Usage

1
collectTrioScores(kidId, damIds, sireIds, animalAlleles)

Arguments

kidId

Character vector with the refId of the offspring.

damIds

Character vector of refId values corresponding to possible dams for the offspring.

sireIds

Character vector of refId values corresponding to possible sires for the offspring.

animalAlleles

List with all allele information for all animals.


rmsharp/parentfindr documentation built on Nov. 29, 2020, 4:33 a.m.