Description Usage Arguments Author(s) See Also Examples

View source: R/LSD.intersphere.R

Create circles for visualizing overlaps between up to 4 datasets.

1 2 3 4 |

`data` |
a list with n entries having elements that can be represented as sets (have union and intersect methods). |

`colors` |
a character vector of R build-in colors for circles representing different sets. |

`alpha` |
alpha value: a two-digit integer between 01 and 99 for color opacity, i.e. appearance of partial or full transparency (usage omitted by default). |

`cex` |
a numeric value giving the character expansion factor for intersect size text inside each circle. |

`expand.circles` |
a numeric value giving the expansion factor of circles (multiplicative). |

`expand.lims` |
a numeric value giving the expansion of x and y limits (additive). |

`main` |
title(s) of the plot, standard graphics parameter. |

`onlySets` |
vectors, which n-overlaps should be shown, default to all 1 < n < length(data). |

Sebastian Duemcke, Bjoern Schwalb

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ```
data = list(
"A" = sample(1:200,100),
"B" = sample(1:200,150),
"C" = sample(1:200,50))
intersphere(data,colors = c("orange","skyblue","green"))
data = list(
"A" = sample(1:200,100),
"B" = sample(1:200,150),
"C" = sample(1:200,50),
"D" = sample(1:200,75))
colors = c("orange","skyblue","green","purple")
intersphere(data,colors,expand.circles = 0.5,expand.lims = 0.5)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.