View source: R/visualization.R
hapiGameteView | R Documentation |
Visualization of haplotypes in a single gamete cell
hapiGameteView(hap, chr = hg19, hap.color = c("deepskyblue2", "darkorange2"), centromere.fill = "black", x.breaks = NULL, x.labels = NULL, y.breaks = NULL, y.labels = NULL)
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 |
a plot of haplotypes in a single gamete cell
Ruidong Li
data(gamete11) ## Not run: hapiGameteView(hap=gamete11)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.