Learn R Programming

crosshap (version 1.4.0)

build_right_clusterplot: 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)

Value

A ggplot2 object.

Arguments

HapObject

Haplotype object created by run_haplotyping().

epsilon

Epsilon to visualize haplotyping results for.

hide_labels

If TRUE, legend is hidden.

Examples

Run this code
build_right_clusterplot(HapObject, epsilon = 0.6, hide_labels = FALSE)

Run the code above in your browser using DataLab