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

Incorrect twins #14

Open
magnusdv opened this issue Feb 15, 2023 · 0 comments
Open

Incorrect twins #14

magnusdv opened this issue Feb 15, 2023 · 0 comments

Comments

@magnusdv
Copy link

In the example below individuals 3 and 4 are MZ twins, but the plot incorrectly shows 3 and 5 as MZ twins.

x = kinship2::pedigree(
  id = 1:7,
  dadid = c(0, 0, 1, 1, 1, 3, 4),
  momid = c(0, 0, 2, 2, 2, 5, 5),
  sex = c(1, 2, 1, 1, 2, 1, 1),
  relation = data.frame(id1 = 3, id2 = 4, code = 1))  # 3 and 4 MZ twins

plot(x)
#> Warning in autohint(ped): Unexpected result in autohint, please contact
#> developer

Created on 2023-02-15 with reprex v2.0.2

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