plotHaploSegs: Plot inherited haplotype segments as ideogram.

plotHaploSegsR Documentation

Plot inherited haplotype segments as ideogram.

Description

This function takes as na input a GRanges-class object with genomic positions of each inherited haplotype block and project them as whole-genome ideogram.

Usage

plotHaploSegs(hapSegm.gr = NULL, layout = "vertical")

Arguments

hapSegm.gr

A GRanges-class object with regions of each inherited haplotype block

layout

Set to 'vertical' or 'horizonal' based on desired layout of an resultant ideogram.

Value

A ggplot object.

Author(s)

David Porubsky


daewoooo/StrandPhaseR documentation built on April 7, 2024, 7:13 p.m.