njlyon0 / supportR

Support Functions for Wrangling and Visualization
https://njlyon0.github.io/supportR/
Other
6 stars 1 forks source link

`nms_ord` and `pcoa_ord` - Add arguments for point size + opacity #6

Closed njlyon0 closed 1 year ago

njlyon0 commented 1 year ago

Requested in a working group that nms_ord support user changing point size / transparency (i.e., "alpha"). Seems like a good thing to also expand to pcoa_ord once I figure it out for nms_ord

njlyon0 commented 1 year ago

Done!

Both functions now include a pt_size and pt_alpha argument that allows users to specify point size/opacity respectively. Necessitated adding scales as a dependency so I could use scales::alpha to change transparency but that's probably fine