kevinchang wrote:
Hi R users,

 I am wondering if it there is R's function that can help  integrate venn
diagram and pie chart to compare two related datasets.
I know the package limma has something built-in for making venn diagram, but
I guess it would be very painful to use line and text to specify the
proportions in the fashion of pie chart .
Hi Kevin,
I might be completely off track, but the intersectDiagram function (plotrix) shows the intersections of an arbitrary number of categories as rectangles, the width of which is proportional to the number of elements in each intersection.

Alternatively, you might be looking for something related to the fan.plot function in which the sectors are overlapping. By adjusting the overlap to the intersection of elements, you could sort of combine a Venn diagram and a pie chart. Do you have any examples?

Jim

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to