-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual label order in combmatrix #20
Comments
Hi Matthias, thanks for the thoughtful issue. What you suggest sounds like a useful feature. However I am afraid, that I don't have the capacity to implement this myself. But I would be happy to accept and review a pull request. Best, |
Hi Constantin, |
Thanks. If you have any question, feel free to ask :) |
factor_levels = c() #provide your own levels upset_overriding_fn = function(df) { When plotting: |
Hi @const-ae 👋 ,
Thank you so much for the
ggupset
package, I think it really helps to visualize categorical data!I've looked at previous issues and couldn't find an answer to my question:
Is there an easy way to set the order of the y axis in the combmatrix?
It seems that changing factor levels doesn't affect at all the row orders of the comb matrix. I thought it was only due to ordering by frequency but it does not seem to be only driven by frequency. From what I understood looking at the code the order is set at these lines:
ggupset/R/axis_combmatrix.R
Lines 181 to 182 in d379fb5
Would it be possible to have the user provide a custom order in place of the one created in
labels_split
?Thanks again for the great package!
The text was updated successfully, but these errors were encountered: