powered by
Utility function for plotting points in the IBD triangle.
showInTriangle( k0, k2 = NULL, new = T, col = "blue", cex = 1, pch = 4, lwd = 2, labels = NULL, col_labels = col, cex_labels = 0.8, pos = 1, adj = NULL, ... )
Numerical vectors giving coordinates for points to be plotted in the IBDtriangle.
Logical indicating if a new IBDtriangle should be drawn.
Parameters passed onto points.
points
A character of same length as k0, or NULL.
k0
Parameters passed onto text (if labels is non-NULL).
text
labels
Plot arguments passed on to IBDtriangle.
IBDtriangle
IBDtriangle, examineKinships
examineKinships
# NOT RUN { showInTriangle(k0=3/8, k2=1/8, label="3/4 siblings", pos=1) # }
Run the code above in your browser using DataLab