IBD (gl.ibd function): 'nperm' >= set of all permutations: complete enumeration error

767 views
Skip to first unread message

Sergio Bolívar

unread,
Oct 2, 2020, 2:52:49 PM10/2/20
to dartR
Hi everyone,

I have problems implementing the gl.ibd function in o dataset of SNPs (28 samples, 3 pops, biallelic, 2036 loci).

The gl.ibd function shows the following message:

'nperm' >= set of all permutations: complete enumeration.
Set of permutations < 'minperm'. Generating entire set.

And the plot not shows all the data of my dataset (see figure).

I tried with other datasets (similar) and the function works fine (56 samples, 12 pops, biallelic, 1452 loci), and I am using the same version of the packages.

The number of population van be the problem?
Does someone have an idea of what could be the problem?

Thanks in advance!

saving_plot1.jpeg

Bernd.Gruber

unread,
Oct 3, 2020, 5:15:15 AM10/3/20
to da...@googlegroups.com

Hi,

 

As you have only 3 populations (and currently gl.ibd is only running on populations) you have 3 pairwise Fsts and therefore the points are fine.

 

 

You also get the warning because the nperm setting of 1000 permutations cannot be done with 28 individuals there only the maximum number of permutations are performed in the mantel test.

 

If you want to do an isolation by distance on individuals you need a individual based distance e.g. 1-gl.propShared and then do your mantel test and plot “by hand”.

 

It is one of the things on my todo list to allow for individual and other distances.

 

Cheers, Bernd

--
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/2a2f1a30-eced-4123-bf87-3042089acb1en%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages