Questions tagged [upsetr]
58 questions
1
vote
1 answer
UpsetR: how to increase font size of legend?
How do you increase the legend font size in UpsetR please?
Here is my code:
library(UpSetR)
library(readr)
data<- read_csv('testData.txt')
Z=as.data.frame(data)
upset(Z, query.legend = "top", text.scale = c(2, 2, 2, 2, 2, 1), sets = c("a", "b",…

Diana El Assal
- 11
- 1
- 3
1
vote
1 answer
UpSetR dataframe as input counts zeros
I want to use upSetR to plot some patient's characteristics. each feature is 0 or 1. They are multiplied by an ID to feed the upset function. It counts zeros and consider zero as a patient. I tried to use the following but no luck:
upSetList =…

Milad Shaddelan
- 53
- 6
1
vote
1 answer
"Object 'freq' not found" error applying colour in UpSetR
If I run this reprex, I get the required output:
``` r
library(UpSetR)
listInput <- list(one = c(1, 2, 3, 5, 7, 8, 11, 12, 13),
two = c(1, 2, 4, 5, 10),
three = c(1, 5, 6, 7, 8, 9, 10, 12,…

Carl
- 4,232
- 2
- 12
- 24
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
1 answer
How to sort the combination matrix of an UpSet plot by sets
I'm plotting some data from a list of named vectors using fromList() with the UpSetR package. But I need to sort the combination matrix by sets, just like an example on the ggupset GitHub page where from left to right you have first the sets with…
0
votes
0 answers
UpsetR How to fix: Image being cut off when trying to export
I am using the UpsetR package to create a chart showing overlaps between different populations. However, when the plot is created it cuts off the numbers on the left-hand side bars and a bit of the set size title, I have tried adjusting the text…

Fortjos
- 1
0
votes
1 answer
Error in start_col:end_col : argument of length 0 - UpSetR
I have a dataset like this:
df <- structure(list(id = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40), a = c(0, 0,
0, 0, 1, 1, 1, 0, 0, 0, 1,…

user19745561
- 145
- 10
0
votes
0 answers
How do I add multiple data points in a data set for Upset plot using R studio?
I am trying to create an Upset plot for 4 clinical data sets from 200 patients in R studio. I am only able to do so if I create a data frame and type each data point (0 or 1). Since I have 200 entries, it is difficult to type in for 4 clinical…
0
votes
0 answers
A question about wrong set size of upsetR
I think the set size of package upsetR towards my own data is wrong:
The above one contains the set size of upsetR, but my real set size is defined by:
I use fromExpression(expressionInput)
Could anyone please help me? Thanks a lot!
Solve my above…

Neyman
- 1
0
votes
0 answers
I'm failing to create an UpSet Plot
I'm still new to R and I'm trying to create an UpSet plot using the package "UpSetR". When i try to run my code i get this error message "Error in start_col:end_col : argument of length 0
In addition: There were 14 warnings (use warnings() to see…

Obby
- 1
- 1
0
votes
0 answers
upsetr expressioninput order by percentage
I want to order my upset graph by percentage point instead of intersection size. I have both intersection size and percentage in my dataset. For example, I have tried:
x <- c(a=80, b=9.9, c=5, 'a&b'=0.1, 'a&c'=1.65, 'c&b'=3.35)…

MicL
- 67
- 1
- 8
0
votes
1 answer
How to edit package functions in R?
I would like to make subtle changes to a visualisation from the UpSetR package. Within the upset() function there is another sub-function called Make_size_plot() that creates the bar chart which I would like to change.
library(UpSetR)
I figured…

Silvan
- 27
- 6
0
votes
0 answers
Edit Functionality in Upsert page
I have a Folder named MenuItem in my project which has a page called Upsert.In upsert page ,both edit and create functionality is worked,but when I click on edit button, I face with this error:No webpage was found for the web address:…

Raha
- 1
- 1
0
votes
0 answers
Combination analysis help in R
Essentially, I have a dataframe of 300 patients each with 25 recorded variables. I am trying to work out the most common combinations of these variables using the UpsetR package which worked fine for me previously when I did the same for another…

bazingastats1203
- 1
- 1
0
votes
0 answers
How to change the labelling of the intersection size and set size?
How can I display the intersection size as percentage of total rows? How can I change the set size as percentage of total rows? The set size should display the marginals, i.e., the total TRUEs returned by one member (column)?
{
library(ggplot2)
…

Sean_TBI_Research
- 61
- 6