hapiGameteView {Hapi} | R Documentation |
Visualization of haplotypes in a single gamete cell
Description
Visualization of haplotypes in a single gamete cell
Usage
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 |
centromere.fill |
a character of the color for the centromeres.
Default is |
x.breaks |
a vector of positions to show labels on x axis.
Default is |
x.labels |
a vector of labels on the x axis.
Default is |
y.breaks |
a vector of positions to show labels on y axis.
Default is |
y.labels |
a vector of labels on the y axis.
Default is |
Value
a plot of haplotypes in a single gamete cell
Author(s)
Ruidong Li
Examples
data(gamete11)
hapiGameteView(hap=gamete11)
[Package Hapi version 0.0.3 Index]