R Under development (unstable) (2025-09-02 r88773 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > > require(kinship2) Loading required package: kinship2 Loading required package: Matrix Loading required package: quadprog Warning: kinship2 package is deprecated for R <= 4.5; switch functionality to Pedixplorer from BioConductor> # > # Here is a case where the levels fail to line up properly > # > > #data(testped2) > data(sample.ped) > > # rearrange the founders to get a nicer plot > df1<- sample.ped[sample.ped$ped==1,] > > ped1 <- with(df1, pedigree(id, father, mother, sex, affected)) > > #plot(ped1) > > df1reord <- df1[c(35:41,1:34),] > ped1reord <- with(df1reord, pedigree(id, father, mother, + sex, affected=affected)) > > > #plot(ped1reord, col=df1reord$avail+1) > > > # Two brothers married two sisters, which is currently "too much" for > # the kindepth routine. > > proc.time() user system elapsed 0.78 0.10 0.87