## Getting first 20 markers from two linkage groups
all.mrk <- make_seq_mappoly(hexafake, c(1:20,601:620))
red.mrk <- elim_redundant(all.mrk)
unique.mrks <- make_seq_mappoly(red.mrk)
counts <- cache_counts_twopt(unique.mrks, cached = TRUE)
all.pairs <- est_pairwise_rf(input.seq = unique.mrks,
count.cache = counts,
ncpus = 1,
verbose = TRUE)
## Full recombination fraction matrix
mat.full <- rf_list_to_matrix(input.twopt = all.pairs)
plot(mat.full, index = FALSE)
lgs <- group_mappoly(input.mat = mat.full,
expected.groups = 2,
inter = TRUE,
comp.mat = TRUE, #this data has physical information
verbose = TRUE)
lgs
plot(lgs)
Run the code above in your browser using DataLab