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

bwgs.cv - output issue #1

Open
IvanaOsCro opened this issue Oct 5, 2021 · 0 comments
Open

bwgs.cv - output issue #1

IvanaOsCro opened this issue Oct 5, 2021 · 0 comments

Comments

@IvanaOsCro
Copy link

First of all, I have to say that I find the BWGS package for R really useful and user friendly. Especially for people like me that are new to genomic selection.

But, I'm facing a problem when using one of the functions and I hope there is a solution to it.

Namely, when using the „bwgs.cv“ function together with „pop.reduct.method“ set to „OPTI“ (CDmean optimisation) I'm not getting mean CV correlation for any of nTimes.

So, the code runs properly, CV correlation for each of the nFolds is calculated, but for each of nTimes CV correlation I'm getting NA. And then of course, at the end of the process mean correlation and standard deviation CVs are NA.

This is a part of the output I'm getting:

cv correlation for fold 48 is: 0.585

cv correlation for fold 49 is: 0.592

cv correlation for fold 50 is: 0.711

                          |****************************************| 100%

Mean CV correlation for time 1 and 50 folds is: NA

This happens only when I use CDmean optimization. When I don't use optimization at all or when I use random optimization, this problem doesn't occur. Also, it occurs whether I use my data set or INRA47 example dataset.

Do you know why this is happening and, perhaps, how to avoid it and get mean correlation and standard deviation CVs in the final output?

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