HaplotypePlot: Generate Haplotype plot from a given list of sequences

View source: R/sequence_context_functions.R

HaplotypePlotR Documentation

Generate Haplotype plot from a given list of sequences

Description

Generate Haplotype plot from a given list of sequences

Usage

HaplotypePlot(
  sequences,
  indel.class,
  flank.length = 5,
  title = "Haplotype Plot"
)

Arguments

sequences

A list of strings returned from SymmetricalContextsFor1BPIndel.

indel.class

A single character string that denotes a 1 base pair insertion or deletion, as taken from ICAMS::catalog.row.order$ID. Insertions or deletions into or from 5+ base-pair homopolymers are not supported.

flank.length

The length of flanking bases around the position or homopolymer targeted by the indel.

title

The title of the haplotype plot

Value

A ggplot2 object


ICAMS documentation built on June 15, 2025, 1:08 a.m.