offspring_with_allele: Function to find offspring that have a parents allele

View source: R/allele_tracking_functions.R

offspring_with_alleleR Documentation

Function to find offspring that have a parents allele

Description

A function that finds all an individuals' offspring that received a given alleles. Returns a matrix with containing offspring ID, Sex and which haplotype the allele is on.

Usage

offspring_with_allele(id, loci, hap, gene_drop_out)

Arguments

id

A vector containing a single numerical or character value identifying the individual of interest

loci

A vector containing single numerical value relating to the loci of interest

hap

The haplotype on which the allele of interest is located (Sire : 1, Dam : 2)

gene_drop_out

A gene_drop_object from gene-dropping


simplydch/GeneDrop documentation built on July 8, 2024, 8:17 p.m.