eulerr package in r display wrong fittings

50 Views Asked by At

I am making a 4 dimensional euler diagram. All 4 groups have unique proportions but somehow eulerr package drew one group inside another group.

Here is the input:

glvenn_d <- c("Ato_gl" = 644, "Elav_gl" = 467, "Spa_gl" = 368,
              "gl_RNA_Seq" = 723, "Ato_gl&Elav_gl" = 343, "Ato_gl&Spa_gl" = 258, 
              "Ato_gl&gl_RNA_Seq" = 37, "Elav_gl&Spa_gl" = 614, 
              "Elav_gl&gl_RNA_Seq" = 71, "Spa_gl&gl_RNA_Seq" = 39, 
              "Ato_gl&Elav_gl&Spa_gl" = 372, "Ato_gl&Elav_gl&gl_RNA_Seq" = 42, 
              "Ato_gl&Spa_gl&gl_RNA_Seq" = 26, "Elav_gl&Spa_gl&gl_RNA_Seq" = 69, 
              "Ato_gl&Elav_gl&Spa_gl&gl_RNA_Seq" = 37)
glvd <- euler(glvenn_d)
plot(glvd)

And I got spa_gl inside Elav_gl.enter image description here

I want to know if it is possible to fix it in this package. I have double checked my numbers they should be correct. I also tried ellipse shape and still the same issue.

0

There are 0 best solutions below