schex
schex copied to clipboard
Highlight single cluster
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:
https://github.com/SaskiaFreytag/schex/blob/4b7d72d54bdf1812148afba06b43676f994382f6/R/plot_hexbin_feature_plus.R#L145
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')) +
Thank you for your suggestion. I will have a look in the next few weeks whether this can be easily implemented.
@SaskiaFreytag I'd be happy to implement it myself if:
- You think it'd be useful for others
- You're willing to provide some guidance in case I get stuck
Sure that would be great! I promise I will be faster with answering