hapiGameteView: Visualization of haplotypes in a single gamete cell

Description Usage Arguments Value Author(s) Examples

Description

Visualization of haplotypes in a single gamete cell

Usage

1
2
3
hapiGameteView(hap, chr = hg19, hap.color = c("deepskyblue2",
  "darkorange2"), centromere.fill = "black", x.breaks = NULL,
  x.labels = NULL, y.breaks = NULL, y.labels = NULL)

Arguments

hap

a dataframe of all the phased hetSNPs in all chromosomes

chr

a dataframe of chromosome information, including length, and centrometric regions

hap.color

a vector of colors for the two haplotypes. Default is c('deepskyblue2','darkorange2')

centromere.fill

a character of the color for the centromeres. Default is 'black'

x.breaks

a vector of positions to show labels on x axis. Default is NULL

x.labels

a vector of labels on the x axis. Default is NULL

y.breaks

a vector of positions to show labels on y axis. Default is NULL

y.labels

a vector of labels on the y axis. Default is NULL

Value

a plot of haplotypes in a single gamete cell

Author(s)

Ruidong Li

Examples

1
2
data(gamete11)
## Not run: hapiGameteView(hap=gamete11)

Jialab-UCR/Hapi documentation built on May 30, 2019, 11:41 a.m.