showInTriangle: Add points to the IBD triangle

View source: R/IBDtriangle.R

showInTriangleR Documentation

Add points to the IBD triangle

Description

Utility function for plotting points in the IBD triangle.

Usage

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,
  ...
)

Arguments

k0, k2

Numerical vectors giving coordinates for points to be plotted in the IBDtriangle.

new

Logical indicating if a new IBDtriangle should be drawn.

col, cex, pch, lwd

Parameters passed onto points.

labels

A character of same length as k0, or NULL.

col_labels, cex_labels, pos, adj

Parameters passed onto text (if labels is non-NULL).

...

Plot arguments passed on to IBDtriangle.

See Also

IBDtriangle, examineKinships

Examples


showInTriangle(k0=3/8, k2=1/8, label="3/4 siblings", pos=1)


paramlink documentation built on April 15, 2022, 9:06 a.m.