Comments (1)
Thank you for supplying a simple reproducible example. I was able to reproduce the error and would suggest the following changes. I think you are just using the package in a slightly different way than intended. It's not your fault, I just had to choose a single API and went with the one that is currently available.
# modifying it to the format expected by ggasym
asymmat_tib <- tidyr::unite(
df,
"contrast",
Parameter1:Parameter2,
remove = FALSE
) %>%
parameters::standardize_names("broom") %>%
tibble::as_tibble() %>%
asymmetrise(parameter1, parameter2) # use `asymmetrise()` function
ggplot(asymmat_tib, aes(x = parameter1, y = parameter2)) +
geom_asymmat(aes(fill_tl = estimate, fill_br = -log(p.value))) +
scale_fill_tl_gradient() + # you need to add fill modifiers
scale_fill_br_gradient() # you need to add fill modifiers
I will close this issue for now, but let me know if you are still running into issues or would like further explanation. Perhaps I will add support for the 'correlation' package with asymmetrise_stats()
in the future, but I don't have any plans to do so at the moment.
from ggasym.
Related Issues (17)
- Made my logo with a different software
- Add title of vignette
- Make a vignette out of the README HOT 1
- Images are distorted in Stats Plot vignette
- CRAN install instructions
- Work with βcorrrβ package HOT 1
- Allow for selection of direction of diagonal HOT 1
- Use `complete()` from 'tidyr' in `asymmetrise()`
- Make custom ggasym key glyphs HOT 2
- Failure with dev scales HOT 4
- Failure with upcoming ggplot2 release
- CRAN Check Failure for Upcoming broom Release
- Make logo a link to pkgdown site
- Standardize the use of `asymmetrise` over `asymmetrize`
- `asymmetrize` example HOT 1
- No return value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggasym.