Questions tagged [upsetr]
58 questions
0
votes
0 answers
R package for intersection visualisation
I am looking for a R package that I can use to generate such a figure (see image below).
intersection tree
I found it in an article but I did not find any mention on how they created such a plot. It remind me the second part of an Upset diagram but…

Coddy
- 1
0
votes
1 answer
R ggplot ggupset - Create inset with combinations that have fewer intersection
I am looking for a way to subset my input data so I can make a second upsetR plot that shows the resolution of the sample intersections that are <<100 (for example). As an example, I'm using the tidy_movies data from tidyverse and the ggupset…

shu251
- 241
- 1
- 4
- 14
0
votes
0 answers
Is there a R function to add the count of horizontal bars beside the bars in UpSetR plot?
I used the upset(fromList(x), show.numbers = 'yes', order.by = 'freq') query to plot the UpSetR plot. But it is showing only the count of vertical bars on the top of vertical bars. I want the count of horizontal bars too. If there is a command to…

amu
- 13
- 3
0
votes
1 answer
Error in upset_data : unused argument (nsets = 5) What could be causing this and how coul I fix the issue?
I am very new to R and I would like to make UpSet plot of peptides.
I have five lists (sets) in .txt format (ID_list_vysledok_pos_vs_healthy_files.txt, ID_list_vysledok_pos_neg_files.txt, ID_list_vysledok_New_vs_Old_collumn_files.txt,…

adam urminský
- 3
- 2
0
votes
0 answers
Loop for UpSet plots
I have a number of data frames I would like to create UpSet Plots for in R and write them to an external folder. I am using similar code that I am successfully using to create and save scatterplots to an external folder.
Below are two example data…

chipsin
- 643
- 1
- 4
- 10
0
votes
0 answers
UpsetR - choosing intersections to visualize
I would like to use Upset plot instead of venn diagram to show overlap between specific groups (20 in total). However, one of the group (number 10) is the most important for me and I would like to present how many unique values is in that specific…

Shaxi Liver
- 1,052
- 3
- 25
- 47
0
votes
1 answer
Error creating ggplot/ggupset from list-column
I am trying to create a ggplot from a list column. First I create the list column and then the ggplot. The intended ggplot is a ggupset to show set intersections. I followed the ggupset example to create the list column and plot. However, I get the…

maia-sh
- 537
- 4
- 14
0
votes
1 answer
Using upset R for survey data visualization?
I am able to use to generate basic and attribute upset plots using the UpsetR package. But, I am not able to generate plots using survey data. Has anyone tried making upset plots in survey data? Thanks.
My error is:
"cannot coerce class…

Laxmi
- 21
- 4
0
votes
1 answer
R Convert categorical data to dummy set by other variable
I have this data set, I put a screenshot of real data instead of a code or something.
sorry for messing up, I am a newbie here in R
enter image description here
Then, I want to change the data into dummy set for "13 Source" categorical data, but it…

Gugi Yogaswara
- 35
- 5
0
votes
1 answer
How to fix "Error in `$<-.data.frame`(`*tmp*`, "x", value = 1L) : replacement has 1 row, data has 0" when using upsetR?
Below a simulated data which will be an input to upset() function
nobs <- 4000
pb <- round(runif(n=1, min=0.1, max=0.8),1)
August <- rbinom(n=nobs, size=1, prob=pb)
pb <- round(runif(n=1, min=0.1, max=0.8),1)
September <- rbinom(n=nobs, size=1,…

Afiq Johari
- 1,372
- 1
- 15
- 28
-1
votes
0 answers
UpSetR colSums(data[sets]) : 'x' must be numeric
I have a scRNA-seq dataset and I am trying to plot the coexpression frequency of 4 genes and I decided to do this with UpSetR, However I am getting an error and I do not know how to fix it.
I have my dataframe as an .RDS file and this is how it…

AvolaAMG
- 41
- 2