A pedigree object with id, dadid, momid, sex, affected
labels
names for the affected indicators
edges
Number of edges for each polygon. Higher numbers give better
resolution for the circle.
radius
length of the circle's radius
location
Similar to how the location of a regular legend is given, used only if
new=TRUE. A character string indicating which of the four corners to
plot the legend, given by "bottomright", "bottomleft", "topleft",
or "topright".
new
Logical. If TRUE, plot the legend on the current plot. Otherwise,
plot on a separate plot.
density
Density of lines shaded in sections of the circle. These match the
density settings for the plot.pedigree function.
angle
Angle at which lines are shaded in sections of the circle. These match
the angles for the plot.pedigree function.
...
optional parameters for the plot function that apply to text.
Details
Adapt the pie() function to plot a circle with affected
indicators. When new=TRUE, much care is needed to keep track of
location and scaling of lines and text.