View source: R/allele_tracking_functions.R
offspring_with_allele | R Documentation |
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.
offspring_with_allele(id, loci, hap, gene_drop_out)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.