function to convert dartR object to genlight?

11 views
Skip to first unread message

Gabriella Scatà

unread,
May 16, 2024, 4:12:45 AMMay 16
to dartR
Hi,
I need to convert a dartR object to a genlight object as I want to use the PCA plotting function from an old dartR package version that allows me to add to each dots the individual label (label by individuals)

Is there any function allowing this conversion?

Thank you!
Gabriella


Bernd.Gruber

unread,
May 16, 2024, 4:52:38 AMMay 16
to da...@googlegroups.com
class(gl) <- “genlight”
 Make sure you use straight quotes
---------


On 16 May 2024, at 18:12, Gabriella Scatà <gabry...@gmail.com> wrote:

Hi,
--
You received this message because you are subscribed to the Google Groups "dartR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartr+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/fb85c711-37f3-4a06-a545-6795b4de8425n%40googlegroups.com.

Gabriella Scatà

unread,
May 17, 2024, 2:53:02 AMMay 17
to dartR
Thank you so much Bernd! that worked!!
best,
Gabriella

Reply all
Reply to author
Forward
0 new messages