Add monzygotic twins computation to the kinship matrix
Add a test for the new monozygote kinship code
Add the ibdMatrix function
Add the ibdMatrix routine, a replacement for bdsmatrix.ibd.
The dimnames of a kinship matrix were in the wrong order if a. it was created from a pedigreeList and b. the original data set that created the pedigreeList was not sorted by family blocks (all of one family, then all of the next, ...). Pointed out by Claus Thorn Ekstrom.
The dimnames on kinship matrices had both row and column names some instances, only column names in others. Changed to always return both.
Per a query from Alex Cunningham, checked the return list of x,y values from plot.pedigree. Indeed, they were not in a useful order (to the user). Updated them to be in the same order as the input data, and added more information to the help page.
Took some families out of minnbreast that did not belong
Compress example data files
Added a Minnesota Breast Cancer dataset
Add missid as a code for the parents of founder subjects if the code is not one of the defaults (0 or NA for numeric ids, "" or NA for character)
Fixed some findex/mindex problems in findUnavailable and excludeUnavailFounders, both used within pedigree.shrink.
Updated plot.pedigree.shrink to plot available subjects as red, and included a simple legend to indicate availability coloring. A new parameter, xlegend, can now control the placing of the legend.
Fixed a minor indexing bug in "[.pedigree"
Fixed typing and grammatical problems in error messages in pedigree()
Fixed row/column names in kinship function (Shannon/Terry, please give more details)
Allow pedigree.trim to trim all subjects and return an empty pedigree object
pedigree.legend to show which portions of a subject's plot symbol indicate which affection status
aligning of pedigrees now more robust to handle subjects in multiple marriages
Summary: kinship2 is a branch from the original kinship package with some key updates for the pedigree and kinship functions, with some additional functions that work with the pedigree object.
pedigree and pedigreeList objects implemented with S3 methods print and "[,"
pedigree plotting routine re-written, now more robust
kinship matrices now implemented with Matrix package classes
utilities to trim the pedigree object with various criteria