Skip to content
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

Highlight single cluster #21

Open
f6v opened this issue Oct 5, 2021 · 3 comments
Open

Highlight single cluster #21

f6v opened this issue Oct 5, 2021 · 3 comments

Comments

@f6v
Copy link

f6v commented Oct 5, 2021

Thanks for the package, it made my analyses much more enjoyable!

I'm wondering if there's an easy way to highlight just one cluster with plot_hexbin_feature_plus. I guess there's no support for this in the package yet? If so, would you accept this change into the library? I guess I could implement it here:

geom_mark_hull(aes_string(label = colour_by, col = colour_by),

and I'd have to filter like so

ggplot(iris, aes(Petal.Length, Petal.Width)) +
  geom_mark_hull(aes(fill = Species, label = Species, description = desc,
                     filter = Species == 'setosa')) +
@SaskiaFreytag
Copy link
Owner

Thank you for your suggestion. I will have a look in the next few weeks whether this can be easily implemented.

@f6v
Copy link
Author

f6v commented Oct 7, 2021

@SaskiaFreytag I'd be happy to implement it myself if:

  1. You think it'd be useful for others
  2. You're willing to provide some guidance in case I get stuck

@SaskiaFreytag
Copy link
Owner

Sure that would be great! I promise I will be faster with answering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants