Description Usage Arguments See Also Examples
Plot curve of EHH values around a focal marker.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
x |
data (output of |
ylim |
the y limits of the plot |
type |
plot type (see codeplot.default and |
main |
title for the plot (default |
xlab |
title for the x-axis. |
ylab |
title for the y-axis. |
col |
color for the ancestral and derived alleles (respectively) curves. |
mrk.col |
color of the vertical line at the focal marker position. |
bty |
box type around plot (see |
legend |
legend text. |
legend.xy.coords |
if |
... |
further arguments to be passed to function |
data2haplohh
, calc_ehh
, plot.ehhs
, scan_hh
.
1 2 3 4 5 6 7 | #example haplohh object (280 haplotypes, 1424 SNPs)
#see ?haplohh_cgu_bta12 for details
data(haplohh_cgu_bta12)
#computing EHH statistics for the marker "F1205400"
#which displays a strong signal of selection
ehh <- calc_ehh(haplohh_cgu_bta12, mrk = "F1205400")
plot(ehh)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.