UpSetR
UpSetR copied to clipboard
Error in start_col:end_col : argument of length 0
Hi,
I am trying to use a dataframe in R to generated a plot from this example.
But I got this error
Error in start_col:end_col : argument of length 0

FYI I just came across this issue and if you convert sym_comb to a data.frame, it should resolve it. It appears UpSetR does not handle tbl_df correctly.
I am getting the similar error for my dataset.
It is in data.frame format and all the sets have integer values. I am not able to figure out why am I getting this error. The command I used is as follows:
upset(data, nsets = 9, empty.intersections=TRUE)
Error in start_col:end_col : argument of length 0
Here is a snippet of my dataset:

i found the same problem. This problem is solved by ensuring that there are only 0 and 1 in the matrix
Hello, I would like to use real values insted of presence/absence in the datasets. Is this possible with UpSetR v. 1.4.0? Best,
Hello, I would like to use real values insted of presence/absence in the datasets. Is this possible with UpSetR v. 1.4.0? Best,
@ARW-UBT have you got an answer?
@marwa38 Not yet...
I have solve the same question. I found that I forgot to write the code. After add the code "upset(fromList(all_term), order.by = "freq")" first, the Plots showing figure.
I have solved the same question. I found that I forgot to write the code. After add the code "upset(fromList(all_term), order.by = "freq")" first, the Plots showing figure.
I did the same but forgot to update. Using a list is a solution as not all columns have the same number of cells/rows.
example below for the head of the table I imported using readxl
I have solved the same question. I found that I forgot to write the code. After add the code "upset(fromList(all_term), order.by = "freq")" first, the Plots showing figure.
I did the same but forgot to update. Using a list is a solution as not all columns have the same number of cells/rows.
example below for the head of the table I imported using readxl
Maybe you'd beetter to fill them with"0".
I tried and the same resutls
One thing that I could comprehend and made an issue (didn't get a response yet) is the number of Set Size is higher by one (197 instead of 196, as below attached in stimulus for example) than the actual number of cells in each column and thus I changed it in powerpoint (I presume that the head of the column is counted).
hello! i m trying the code but still the same error : Error in start_col:end_col : argument of length 0 @ZhangRuifen can you write the code properly which remove this error!Ty!
