magnusdv / forrel

Forensic pedigree analysis and relatedness inference
GNU General Public License v2.0
10 stars 0 forks source link

IBDtriangle #5

Closed thoree closed 6 years ago

thoree commented 6 years ago

Change IBDtriangle to allow for k0 and k2 on the axes rather than the current greek kappas, eg by changing the argument to allow: kappas = c("k0", "k2)?

magnusdv commented 6 years ago

Nice suggestion, implemented in bda314c

I have replaced the kappas parameter with explicit xlab and ylab, and their font size is controlled with cex_lab.

By default, the labels are greek kappas (which unfortunately are not available in italics as far as I know). With normal letters/numbers, italic font is obtained e.g. with expression(italic(...)):

IBDtriangle(xlab = expression(italic(k[0])), ylab = expression(italic(k[2])))