Count species-2 alleles at diagnostic markers
Arguments
- geno
Genotype matrix as in
diagnostic_markers().- markers
Output of
diagnostic_markers().
Examples
ex <- hybridclock_example()
mk <- diagnostic_markers(ex$genotypes, ex$groups, "species1", "species2", locus = ex$locus)
dim(orient_genotypes(ex$genotypes, mk))
#> [1] 100 314