Hi,

I want to include the global Fis index in my divBasic calculation from the package diveRsity. To do so I set the bootstrap = 100.

However, I have this error in return:

Error in x[, 1] : incorrect number of dimensions

When I run the divBasic without the bootstrap I manage to obtain the correct output excel file; therefore, I believe that the error pop-up because of the bootstrap but I don't understand why.

My input file is a genepop file (.gen) with 82 SNPs marker (gp=3), 724 individuals from 28 different populations.

Does anyone have this issue before or have any idea on how to run the divBasic function with bootstrap to obtain Fis index?

Thank you very much in advance,

Best

Eleonora

More Eleonora Cariolato's questions See All
Similar questions and discussions