Venn Diagram from count species in R
0
0
Entering edit mode
4.0 years ago
poet1988 ▴ 30

Hello! I don’t understand how to create a venn diagram from a simple species table. For example, three sites. How to calculate overlapping region between them?

Column - species Row- sites

          Sp1  Sp2  Sp3
Site1   1       0      1
Site2   2       2      0
Site3   0       5      4

I found a library limma

venn <- (read.table("table.txt"))
datavenn <- vennCounts(venn)
vennDiagram(datavenn)

But this is only suitable for literal variables.

R • 1.0k views
ADD COMMENT

Login before adding your answer.

Traffic: 2740 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6