breed_lookup: Lookup haplotypes from a breed probability matrix

Description Usage Arguments Value

Description

Breed probability matrices can be constructed with the help of haplo_comp(), they contain genotypes for a region in rows and probabilities that that genotype belongs to a breed / breed hybrid in the columns.

Usage

1
breed_lookup(geno, bmat, white_freq = FALSE)

Arguments

geno

string containing genotypes for a region represented as (ex. 2011210?1211?)

bmat

a breed probability matrix as described from above

white_freq

logical. If true, combines breed probabilities of Yorkshire and Landrace breeds when those are present.

Value

probabilities of being particular breeds based on stretch of genotype information provided in geno argument.


funkhou9/breedTools documentation built on May 16, 2019, 4:04 p.m.