build_top_metaplot | R Documentation |
build_top_metaplot() builds a vertical stacked bar plot displaying the frequency of each haplotype combination, broken down by each categorical metadata variable provided. Makes use of the $Indfile information from a haplotype object. This is an in internal function called by crosshap_viz(), though can be called separately to build a stand-alone plot
build_top_metaplot(HapObject, epsilon, hide_labels = FALSE)
HapObject |
Haplotype object created by run_haplotyping() |
epsilon |
Epsilon to visualize haplotyping results for. |
hide_labels |
If TRUE, legend is hidden. |
A ggplot2 object.
build_top_metaplot(HapObject, epsilon = 0.6, hide_labels = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.