VennSquares | R Documentation |
Draw Venn diagram with squares, with match/mismatch in overlapping area.
VennSquares(count, BL = c(0, 0), COL, withText = TRUE, withLegend = FALSE)
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. |
PlotPedComp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.