Questions tagged [eulerr]

Area-Proportional Euler and Venn Diagrams with Ellipses. (R package)

Area-Proportional Euler and Venn Diagrams with Ellipses

Generate area-proportional Euler diagrams using numerical optimization. An Euler diagram is a generalization of a Venn diagram, relaxing the criterion that all interactions need to be represented. Diagrams may be fit with ellipses and circles via a wide range of inputs and can be visualized in numerous ways.

Author Johan Larsson

34 questions
1
vote
1 answer

Is there a way to change background color or color the inverse of the input sets?

I'm working on a shiny app to let students explore the basic probability equations and notation with dynamic Euler (Venn) diagrams responding to changes in probability and displaying the intersection of two sets, the union, the union of one set with…
naita
  • 13
  • 5
1
vote
1 answer

Damaged PDF from R PDF Graphics Device

I have a list (eulerr.list) that contains data frames that can plot Euler diagrams with eulerr. I want to plot and save Euler diagrams for each data frame in the list. To this end I wrote the following code: for (j in 1: length(eulerr.list)) { …
justinian482
  • 845
  • 2
  • 10
  • 18
1
vote
1 answer

Unable to change colors in eulerr

I have three lists of genes for which I am attempting to plot the euler plots using eulerr in R. I'm having trouble figuring out why the code provided here isn't allowing me to change the colors of the different sets. Here is a sample code: d <-…
Anurag N. Sharma
  • 362
  • 2
  • 10
1
vote
1 answer

Rstudio Venn Diagram with several numbers

I Have two dataset, where im counting the number of each sample within that dataset. And i want to combine the numbers of each sample for both dataset and then create a VennDiagram using R, with the main numbers of the largest dataset and in…
RAHenriksen
  • 143
  • 2
  • 12
1
vote
2 answers

Area proportional 3-way Venn Diagram in R

I read quite a few threads on creating Venn Diagram in R. Is it possible to create a proportional triple Venn Diagram talks about using eulerr package. Venn diagram proportional and color shading with semi-transparency is very comprehensive and did…
watchtower
  • 4,140
  • 14
  • 50
  • 92
1
vote
1 answer

Is it possible to create a proportional triple Venn Diagram

I am trying to create a proportional Venn Diagram with three groups. I searched the web and tried with 3 different packages: Venndiagram, venneuler and eulerr. However, with none it seems that it creates a correct proportional diagram. Can anyone…
mswalma
  • 11
  • 2
0
votes
0 answers

Discrepancy in UpSetR, Eulerr and my data

The values shown in the diagrams of my venn or UpSetR plot is different than what my data has. Hi, I would really appreciate help with the following: I have 10 sets of vector and just with an example, I have one vector (let's say x) with a total of…
J NG
  • 1
0
votes
0 answers

eulerr package in r display wrong fittings

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, …
hw999
  • 1
0
votes
0 answers

plotting more than 5 ellipses with venn eulerr

I would like to plot a venn diagram with more than 5 ellipses using the package eulerr. Here is a reproducible example: library(eulerr) m <- venn(organisms, weights = c(10, 20, 5, 4, 8, 9, 2)) plot(m) I have checked the function the venn function:…
i.b
  • 167
  • 11
0
votes
1 answer

R Euler Plot Basic Questions

My question is about the inputs into library(eulerr) in r. I am trying to plot something I think would be simple but I am having trouble and it stems from my lack of knowledge of r and this library. For this code : fit1 <- euler(c("A" = 25, "B" = 5,…
Chris
  • 19
  • 2
0
votes
0 answers

How to change the legend position from a Venn Diagram using eulerr package?

I am using the eulerr package and I want to change the legend position of my plot. I have been able to change it to the right, left, up, down... But I cannot change it to the top right. library(eulerr) fit <- euler(c("A" = 10, "B" = 5, "A&B" =…
emr2
  • 1,436
  • 7
  • 23
0
votes
1 answer

eulerr diagram: error in data assignment and program termination

I would like to create an euler diagram with R. My Code looks like this: library(eulerr) IEEE <- c("Paper0", "Paper1", "Paper2", "Paper3", "Paper4", "Paper5", "Paper6", "Paper7", "Paper8", "Paper9", "Paper10", "Paper11", "Paper12", "Paper13",…
TeXlearner
  • 113
  • 4
0
votes
1 answer

EULERR-package Venn-diagram RGB-colors

The Euler package is one of the few packages, which can made the the Venn diagram where the areas of circles change. I have this following code, and it makes me a beautiful venn-diagram: tiff("test.tiff", units="in", width=7, height=5, res=600) fit…
arto
  • 61
  • 4
0
votes
2 answers

how can I improve the execution time of my tailrec function in scala for collatz chain

def collatzChainLength(n:Int):Int={ @tailrec def collatz(n:Int,acc:Int):Int= if(n==1) acc+1 else if (n%2==0) collatz(n/2,acc+1) else collatz(3*n+1,acc+1) collatz(n,0) } I am getting almost instant…
0
votes
0 answers

No plot with plotting function eulerr

I am trying to create a Euler diagram with eulerr. With my own data no plot apears when I call plot(). I decided to run the example (https://github.com/jolars/eulerr) to see if I made any mistakes in my own code: library(eulerr) #From Wilkinson…
justinian482
  • 845
  • 2
  • 10
  • 18