check_trio | R Documentation |
Check markers for parent-offspring trio
check_trio(parentage, geno, ploidy)
parentage |
Data frame with three columns: id, mother, father |
geno |
Matrix of allele dosages: markers x indiv |
ploidy |
2 or 4 |
Computes the percentage of markers at which the two parents and offspring have incompatible allele dosages (for tetraploids, the random bivalents model is used). For dihaploid offspring of a single tetraploid parent, use ploidy
= 4 and "haploid" for the father in parentage
, as well as a diploid (0,1,2) genotype for the offspring. A small amount of missing genotype data can be tolerated.
Data frame with the percentage of incompatible markers for each trio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.