## use Technow data as example
data(DT_technow)
DT <- DT_technow
Md <- (Md_technow * 2) - 1
Mf <- (Mf_technow * 2) - 1
## first get all possible hybrids
res1 <- build.HMM(Md, Mf,
return.combos.only = TRUE)
head(res1$data.used)
use <- which(res1$data.used$hybrid %in% DT$hy)
## build the marker matrix for the first 50 hybrids
res2 <- build.HMM(Md, Mf,
custom.hyb = res1$data.used[use[1:10],]
)
res2$HMM.add[1:5,1:5]
res2$HMM.dom[1:5,1:5]
# \donttest{
## now you can use the A.mat()
M <- res2$HMM.add
A <- A.mat(M)
# }
Run the code above in your browser using DataLab