Description Usage Arguments Value Examples
View source: R/NewPhaseParent.R
Extending/joining the phased haplotype chunks generated from phase_chunk
.
1 2 3 | join_chunks(GBS.array, chunklist, join_length, verbose, OR)
link_dad_haps(GBS.array, dad_haps_lofl, hapidx, join_length, OR)
|
GBS.array |
A GBS.array object generated from |
chunklist |
A list of haplotype chunks generated from |
join_length |
The length of each neighboring chunks used to connect them into a longer one. |
verbose |
Writing verbose messages. Default=TRUE. |
return A list of haplotype chunks.
1 2 3 4 5 6 | GBS.array <- sim.array(size.array=50, numloci=1000)
win_length = 10
haps <- setup_haps(win_length)
probs <- error_mx(hom.error=0.02, het.error=0.8, imiss=0.2)
chunklist <- phase_chunk(GBS.array, win_length, haps, verbose=TRUE)
res <- join_chunks(GBS.array, chunklist, join_length, verbose=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.