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

LOOCV option for DAPC #365

Open
carlaperezmon opened this issue Oct 21, 2024 · 1 comment
Open

LOOCV option for DAPC #365

carlaperezmon opened this issue Oct 21, 2024 · 1 comment

Comments

@carlaperezmon
Copy link

Is there any function in the package for DAPC (or other adegenet analyses) that enables to perform leave one out cross validations in the model?

I am analysing a small dataset using DAPC in a proof of concept study and since I do not have many replicates per group (<10 replicates per group) I would like to cross validate the model using LOOCV method.

@zkamvar
Copy link
Collaborator

zkamvar commented Oct 21, 2024

I believe what you are describing is implemented in xvalDapc: https://rdrr.io/cran/adegenet/man/xvalDapc.html

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

2 participants