build_left_posplot: Left SNP-position plot

View source: R/left_posplot.R

build_left_posplotR Documentation

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)

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.

Value

A ggplot2 object.

Examples

build_left_posplot(HapObject, epsilon = 0.6, hide_labels = FALSE)


crosshap documentation built on May 29, 2024, 1:13 a.m.