build_right_clusterplot {crosshap} | R Documentation |
Right intra-cluster linkage plot
Description
build_right_jitterplot() builds a horizontal plot displaying the mean pairwise R^2 linkage between each SNP and all other SNPs in its marker group, grouped by marker group, coloured by alternate allele frequency. Makes use of the $Varfile information from haplotyping object. It is an internal function called by crosshap_viz(), though can be called separately to build a stand-alone plot.
Usage
build_right_clusterplot(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_right_clusterplot(HapObject, epsilon = 0.6, hide_labels = FALSE)
[Package crosshap version 1.4.0 Index]