Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate bootstrap summary for pairwise differentiation statistics #10

Open
JeannieKlein opened this issue Apr 8, 2020 · 0 comments
Open

Comments

@JeannieKlein
Copy link

Hi, I am wondering if it is possible to calculate a bootstrap summary for pairwise differentiation statistics (e.g. Nei's Gst). The purpose is to generate confidence intervals for each value generated for all (pairwise) combinations of populations in a genind object. After running:
boot10 <- chao_bootstrap(genind_one, nreps = 10)

I attempted to run:
boot10_pw <- summarise_bootstrap(boot10, pairwise_Gst_Nei)

However, I received an error:
"Error in stats["per.locus", ] : no 'dimnames' attribute for array"

Is this analysis possible to do in the mmod package, or can bootstrap summaries only be performed per locus and then summarized over all loci, disregarding the population structure?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant