build_mid_dotplot {crosshap} | R Documentation |
Middle MG/hap dot plot
Description
build_mid_dotplot() builds a central dot plot displaying the relationship between haplotype combinations and the characteristic marker group alleles that define them. Makes use of the $Hapfile information from a haplotype object. This is an internal function called by crosshap_viz(), though can be called separately to build a stand-alone plot (can be useful when patched to a peripheral plot).
Usage
build_mid_dotplot(HapObject, epsilon, hide_labels = FALSE)
Arguments
HapObject |
Haplotype object created by run_haplotyping |
epsilon |
Epsilon to visualize haplotyping results for. |
hide_labels |
If TRUE, legend is hidden. |
Value
A ggplot2 object.
Examples
build_mid_dotplot(HapObject, epsilon = 0.6, hide_labels = FALSE)
[Package crosshap version 1.4.0 Index]