-
Notifications
You must be signed in to change notification settings - Fork 2
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
Issue with Complex pedigree in Poultry #31
Comments
The error actually comes from the
What is not allowed is duplicated rows/IDs:
i.e., column id needs to contain unique elements, fatherid and motherid can contain duplicates. |
Many thanks for your answer and sorry for the long time before mine. You are completly right. I am pretty sure that the issue is from my dataset and that I am trying to do something for what FarmAgg was not intented to. When I tried to use it with a "classic" pedigree (one row equal one unique ID), I had error message signaling me that some mothers did not have child id in some family. Thus I duplicated all these mothers into the corresponding familiy, but then the error given to me was that there were duplicated child ID. So, maybe the issue is that I want to use FarmAgg in too big Pedigree with too much interconnexion between families breaking the notion of "family" as intended when the library was created ? |
In fact, the "family" notion is not really used in Note: I just learned that |
Thanks, I will look into that now. Thanks again for yout time and answers. |
Greetings,
I have peculiar situation on my side with FamAgg.
The Pedigree I use is quite convoluted as it come from breeding company data.
If I use a "complete" pedigree, several birds are duplicated accross families giving me the following message when using FAData :
Erreur dans kinship2::pedigree(...) :
Duplicate subject id: 125Duplicate subject id: 125Duplicate subject id: 125Duplicate subject id: 125Duplicate subject id: 125Duplicate subject id: 125
If I use a trimmed pedigree, the following error is given :
Generating the kinship matrix...Erreur dans kinship2::pedigree(famid = ped[, "family"], id = ped[, "id"], :
Value of 'momid' not found in the id list 4/3927518502234 5/3927518502234 10/3927518502234 11/3961511284313 4/3971527126014
I understand that the functions are doing their jobs and that poultry husbandry is extremely different from human one.
But in case of human, I suppose that sometimes a pedigree can contain several times a father or a mother, so how can this situation be managed by FamAgg.
Below an example of a poultry family.
Many thanks for your time.
The text was updated successfully, but these errors were encountered: