salbeke / rKIN

Estimate Niche space using Kernel Density Estimates
4 stars 0 forks source link

Labeling individuals #13

Closed AylenM closed 1 year ago

AylenM commented 1 year ago

Hi! Is it possible to add individual labels (ej. ID or Age) using plotKIN?

Than you in advance!

salbeke commented 1 year ago

Hi Eyleen, Well, you can use the Group argument to the legend. If you want an individual point to have a label, just know that plotKIN is essentially a ggplot object. Thus you can add additional elements to it. So something like

plotKIN(your stuff) + geom_label(your label info) + etc.

So yeah, should be somewhat customizable, just add elements to the ggplot. Shannon

From: Eyleen @.> Sent: Tuesday, April 11, 2023 10:33 AM To: salbeke/rKIN @.> Cc: Subscribed @.***> Subject: [salbeke/rKIN] Labeling individuals (Issue #13)

◆ This message was sent from a non-UWYO address. Please exercise caution when clicking links or opening attachments from external sources.

Hi! Is it possible to add individual labels (ej. ID or Age) using plotKIN?

Than you in advance!

— Reply to this email directly, view it on GitHubhttps://github.com/salbeke/rKIN/issues/13, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACTUNDCLZY433K2WTRXHSOLXAWBSXANCNFSM6AAAAAAW2QK44M. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

AylenM commented 1 year ago

¡Thank you so much!