ggupset | Combination matrix axis for 'ggplot2 to create 'UpSet | Data Visualization library
kandi X-RAY | ggupset Summary
kandi X-RAY | ggupset Summary
Plot a combination matrix instead of the standard x-axis and create UpSet plots with ggplot2.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ggupset
ggupset Key Features
ggupset Examples and Code Snippets
Community Discussions
Trending Discussions on ggupset
QUESTION
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 following warning when trying to create a geom_bar()
from the list column: Warning message: Computation failed in stat_count():non-numeric argument to mathematical function
. I am also unable to reproduce the ggupset example using tidy_pathway_member
. Below is a simple reprex as well as the ggupset example.
Thank you for your time and help!
...ANSWER
Answered 2021-Jan-05 at 14:29Because you've commented out + scale_x_upset()
, the regular ggplot2 scales don't recognize list-columns as something that can map to a scale. If you un-comment the upset scales, it works as I would expect:
QUESTION
I am using hrbrthemes::theme_ipsum()
with most of my plots, but now I'm encountering odd behaviour while using ggupset
: An extra "at" above the x-axis label that I can neither find the origin of nor can get rid of.
If anyone could try to explain what's going on here (and how to get rid of it), that'd be great.
Note that I tried both the current CRAN and GitHub versions of hrbrthemes
.
Demonstration:
...ANSWER
Answered 2020-Mar-25 at 11:36The issue was caused by ggupset
, and has since been fixed.
If anyone else has encountered this, you can use the current development version: remotes::install_github("const-ae/ggupset")
, or wait for the CRAN release in the near future.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ggupset
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page