showInTriangle | R Documentation |
Utility function for plotting points in the IBD triangle.
showInTriangle(
kappa,
new = TRUE,
col = 6,
cex = 1,
pch = 4,
lwd = 2,
labels = FALSE,
colLab = col,
cexLab = 0.8,
pos = 1,
adj = NULL,
keep.par = TRUE,
...
)
kappa |
Coordinates of points to be plotted in the IBD triangle. Valid input types are:
|
new |
A logical indicating if a new triangle should be drawn. |
col, cex, pch, lwd |
Parameters passed onto |
labels |
A character of same length as the number of points, or a single
logical |
colLab, cexLab, pos, adj |
Parameters passed onto |
keep.par |
A logical. If TRUE, the graphical parameters are not reset after plotting, which may be useful for adding additional annotation. |
... |
Plot arguments passed on to |
None
Magnus Dehli Vigeland
showInTriangle(c(3/8, 1/8), label = "3/4 siblings", pos = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.