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

Error: Subjects must have both a father and mother, or have neither #1

Open
leraman opened this issue May 26, 2020 · 1 comment
Open

Comments

@leraman
Copy link

leraman commented May 26, 2020

Hi,

This error is generated when runing pedigree(); it speaks for itself. I'm working on a pipeline which uses kinship2, however, subjects are not restricted to two or no parents (one is also possible). I could implement a work-around which creates a second 'unknown' parent for this module specifically, yet, it might be cleaner if this error could be circumvented directly. Is this possible?

Best

@sinnweja
Copy link
Member

Sorry I did not get to responding yet. I do have some functionality worked out in a function called fixParents() that addresses this issue outside pedigree(). It is in the repo on github, but not part of the cran version. I plan on working on updating the package, and addressing this issue in more detail, in the next few weeks.

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