Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

VennSquares

Square Venn diagram


Description

Draw Venn diagram with squares, with match/mismatch in overlapping area.

Usage

VennSquares(count, BL = c(0, 0), COL, withText = TRUE, withLegend = FALSE)

Arguments

count

a length 5 named vector: 'Total', 'Match', 'Mismatch', 'P1only', and 'P2only'.

BL

a length 2 vector with coordinates of bottom-mid of Ped1 square.

COL

a length 4 character vector with colours, named 'Match', 'Mismatch', 'Ped1', 'Ped2'.

withText

logical, add count to each rectangle.

withLegend

logical, add legend at the bottom of the plot.

See Also


sequoia

Pedigree Inference from SNPs

v2.3.3
GPL-2
Authors
Jisca Huisman [aut, cre]
Initial release
2021-04-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.