Learn R Programming

crosshap (version 1.4.0)

build_left_posplot: Left SNP-position plot

Description

build_left_alleleplot() builds a horizontal plot displaying the chromosomal position of each SNP locus, grouped by marker group. Makes use of the $Varfile file from haplotype object. It is an internal function called by crosshap_viz(), though can be called separately to build a stand-alone plot.

Usage

build_left_posplot(HapObject, epsilon, hide_labels = TRUE)

Value

A ggplot2 object.

Arguments

HapObject

Haplotype object created by run_haplotyping().

epsilon

Epsilon matching the haplotype object used for umap_in.

hide_labels

If TRUE, legend is hidden.

Examples

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

Run the code above in your browser using DataLab