Skip to main content

Questions tagged [venn-diagram]

For questions about Venn diagrams.

venn-diagram
1 vote
1 answer
26 views

R Customize ggVennDigram legend based on internally defined categories of mapped colors - not counts nor individual intersections

First time posting here... I have a Venn diagram where I have coded certain regions of intersections based on internally defined categories. I want to produce a legend that reflects those categories. ...
dGroat's user avatar
  • 11
0 votes
1 answer
38 views

ggVennDiagram - Adding Own Dataset

I want to create a 3D Venn Diagram using the ggVennDiagram package using data that I have collected and is currently in a table/dataset relating to surgical techniques used in patients. Most of the ...
Dr Bear's user avatar
1 vote
0 answers
60 views

How can I make this VennDiagram in R?

I am making a Venn-diagram in R. I have two methods and different taxa found in each method. I want to list the families found in a venn diagram to show: taxa found in method A, taxa found in method B ...
PostDoc's user avatar
  • 11
0 votes
0 answers
31 views

Is there a way to plot Venn diagram with dot densities for more than 3 sets in R?

I am trying to come up with a solution to plot a Venn diagram for 4 sets with density points inside the circles. The ideal example of what I am looking for is this: https://robslink.com/SAS/democd59/...
prosopagnosia's user avatar
1 vote
1 answer
31 views

How to plot multiple VennDiagrams in png file from within a function in R

I'm trying to print a series of Venn diagrams (using the VennDiagram package) to a single png file by opening the file, calling the function multiple times, then dev.off(). I can get the plots to ...
Kate's user avatar
  • 39
3 votes
1 answer
62 views

Plotting a Venn diagram given its structure

In R, I have a Venn diagram encoded as follows: [[1]] [[1]][[1]] [1] FALSE TRUE # B [[1]][[2]] [1] 1 [[2]] [[2]][[1]] [1] TRUE TRUE # A and B [[2]][[2]] [1] 1 [[3]] [[3]][[1]] [1] TRUE FALSE # A ...
Stéphane Laurent's user avatar
1 vote
1 answer
93 views

Venn diagram with duplicated elements

I am trying to do a representation of some sets of data to show how many elements are common between the various groups. I was thinking of doing something similar to a Venn diagram, but for this ...
Fabrizio's user avatar
  • 939
0 votes
0 answers
70 views

How to do a Venn Diagramm with ggplot2?

I have the following dataframe: df <- data.frame( group_final = c("EUR", "MAT_EUR", "MAT_Top_EUR", "Top_EUR", "MAT", "MAT_Top", "...
Khaleesi95's user avatar
2 votes
1 answer
477 views

How to remove the set size plot and add percentage with the numbers on the top of the bars

I am trying to move away from the Venn plots for anything more than 3 conditions/samples in my experiments. It just become more and more difficult to interpret. UpSet plots using UpSetR::upset() work ...
ktyagi's user avatar
  • 1,056
0 votes
2 answers
114 views

RNA Seq ggVennDiagram ERROR: `stat_sf()` requires the following missing aesthetics: geometry

I'm trying to create a 5 set Venn Diagram from a lists of lists of differentially expressed genes (after running DESeq2), and because the easy-to-use R packages allows up to 4 sets, I'm using a ...
sometimespetisometimesfeña's user avatar
1 vote
0 answers
111 views

Incorrect color mapping to Venn diagram with ggvenn in R

I want to color each segment of a Venn diagram with four conditions according to color scale (see below). However, the colors do not map to the correct sections and are way off from what I want. How ...
nklskrmr's user avatar
0 votes
1 answer
114 views

Draw multiple 2 by 2 Venn diagram, from a list with multiple gene sets in R

I have a list with multiple gene sets, let's say: genes <- paste("gene",1:1000,sep="") x <- list(A = sample(genes,300), B = sample(genes,525), C = ...
B_slash_'s user avatar
  • 343
0 votes
1 answer
99 views

How to add superscripts to each circle of a venn diagram using ggvenn?

I am trying to add superscripts to each circle of one venn diagram. I am using the R package ggvenn and these have been my attempts. #Normal situation set.seed(20190708) genes <- paste("gene&...
emr2's user avatar
  • 1,660
1 vote
1 answer
153 views

VennDiagram: How to show label = item (not count), and exclude character(0), 0 (0%), and related strings?

# # reproducible example library(ggVennDiagram) set.seed(0) small_list <- lapply(sample(0:10, size = 4), function(x){ sample(letters,x) }) names(small_list) <- c("...
Krantz's user avatar
  • 1,493
0 votes
1 answer
103 views

Issue with shading in Venn Diagram

I am using the matplotlib_venn library for creating the Venn diagram, and the shading issue seems to appear whenever I try to evaluate a complement of a set or expression. My code: import matplotlib....
mbmocls's user avatar

15 30 50 per page
1
2 3 4 5
27