Usage
haploNet(h)
## S3 method for class 'haploNet':
plot(x, size = 1, col = "black", bg = "white",
col.link = "black", lwd = 1, lty = 1, pie = NULL,
labels = TRUE, scale.ratio = 1, legend = FALSE,
fast = FALSE, ...)Arguments
h
an object of class "haplotype".
x
an object of class "haploNet".
size
a numeric vector giving the diameter of the circles
representing the haplotypes: this is in the same unit than the links
and eventually recycled.
col
a character vector specifying the colours of the circles;
eventually recycled.
bg
a character vector specifying the colours of the background
of the circles; eventually recycled.
col.link
a character vector specifying the colours of the links;
eventually recycled.
lwd
a numeric vector giving the width of the links; eventually
recycled.
lty
idem for the line types.
pie
a matrix used to draw pie charts for each haplotype; it
must have as many rows than there is haplotypes.
labels
a logical specifying whether to identify the haplotypes
with Roman numerals (the default).
scale.ratio
the ratio of the scale of the links representing
the number of steps on the scale of the circles representing the
haplotypes. It may be needed to give a value greater than one to
avoid overlapping circles.
legend
a logical specifying whether to draw the legend, or a
vector of length two giving the coordinates where to draw the
legend; FALSE by default. If TRUE, the user is asked
to click where to draw the legend.
fast
a logical specifying whether to optimize the spacing of
the circles; FALSE by default.
...
further arguments passed to plot.