Hi, community!
I am using the UpsetR package for finding intersections among the sets with the size of the intersection. For that I am using this tutorial. It instructs to make a list of vectors (where each vector is a set) and then convert the list to a matrix. It uses the following code:
Your vectors, set1 and set2 are not numeric (they are character vectors). I see that the same code is used in the tutorial to which you linked, but I'm not sure what package that function, list_to_matrix(), is coming from. So, I can't check to see if something in the source code has changed.
Could you please turn this into a self-contained reprex (short for reproducible example)?
There's a nice FAQ on how to do a minimal reprex for beginners, below:
For pointers specific to the community site, check out the reprex FAQ.
Thanks @mara for your reply. I don't understand reprex of which part do you actually want. I just mentioned the whole code that I have used. Can you please clarify?
Thanks @nirgrahamuk . I don't know why I am getting the function from both ComplexHeatmap and turner package. And, thanks to you as it is working fine when I loaded it from ComplexHeatmap package.