crosshap_viz() builds five individual plots using various elements of a HapObject created by run_haplotyping(). The central dotplot displays relationship between clusters of linked SNPs (Marker Groups), and distinct haplotypes present within the population. Vertical plots (top/bottom) visualize individuals and populations, grouped by haplotype. Horizontal plots (left/right) visualize SNP information, grouped by Marker Group cluster.
crosshap_viz(
HapObject,
epsilon,
plot_left = "allele",
plot_right = "pheno",
hide_labels = FALSE,
isolate_group = NA
)A patchwork object.
Haplotype object created by run_haplotyping().
Epsilon to visualize haplotyping results for.
When plot_left = "allele", SNP allele frequency information is displayed, when plot_left = "pos", SNP position information is displayed.
When plot_right = "pheno", phenotype associations for SNPs are displayed, when plot_right = "cluster", internal marker group linkage is displayed.
When TRUE, legends from plots are hidden.
If one or more Metadata groups are provided, all other Metadata groups will be masked from the plot. NOTE: it does change the summary tables or marker group phenotype scores.