IBD analysis error

9 views
Skip to first unread message

Marco Sollitto

unread,
Jun 20, 2024, 3:43:08 AM (13 days ago) Jun 20
to dartR
Dear all. 

I try to run the following command: 

ibd_results <- dartR::gl.ibd(genlight_obj_filtered , distance = 'propShared', permutations = 999, paircols=pop) 
# in pop I have info about 2 populations

Error in paircols == "pop" :
  comparison (1) is possible only for atomic and list types

Thanks for the support,
Marco

Bernd.Gruber

unread,
Jun 20, 2024, 7:02:05 AM (13 days ago) Jun 20
to da...@googlegroups.com
Hi Marco can you try to use

paircols=“pop”

Pop In quotes 

Cheers Bernd 

---------


On 20 Jun 2024, at 17:43, Marco Sollitto <marco.s...@gmail.com> wrote:

Dear all. 
--
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/f89cc0ee-5b5c-42f4-8c5f-d4af0529a7d6n%40googlegroups.com.

Marco Sollitto

unread,
Jun 21, 2024, 7:46:48 PM (11 days ago) Jun 21
to da...@googlegroups.com
It works!

Thanks,
Marco

Reply all
Reply to author
Forward
0 new messages