powered by
List of sire haplotypes is set up in the format required for hsrecombi. Haplotypes (obtained by external software) are provided.
makehaplist(daughterSire, hapSire, nmin = 1)
list (LEN 2) of lists. For each sire:
famID
list (LEN N) of vectors (LEN n.progeny) of progeny indices relating to lines in genotype matrix
sireHap
list (LEN N) of matrices (DIM 2 x p) of sire haplotypes (0, 1) on investigated chromosome
vector (LEN n) of sire ID for each progeny
matrix (DIM 2N x p + 1) of sire haplotype at p SNPs; 2 lines per sire, 1. columns contains sire ID
scalar, minimum number of progeny required, default 1
data(targetregion) hap <- makehaplist(daughterSire, hapSire)
Run the code above in your browser using DataLab