Learn R Programming

⚠️There's a newer version (1.9.6.1) of this package.Take me there.

kinship2 (version 1.8.5)

Pedigree Functions

Description

Routines to handle family data with a pedigree object (2014, ). The initial purpose was to create correlation structures that describe family relationships such as kinship and identity-by-descent, which can be used to model family data in mixed effects models, such as in the coxme function. Also includes a tool for pedigree drawing which is focused on producing compact layouts without intervention. Recent additions include utilities to trim the pedigree object with various criteria, and kinship for the X chromosome.

Copy Link

Version

Install

install.packages('kinship2')

Monthly Downloads

4,849

Version

1.8.5

License

GPL (>= 2)

Maintainer

Jason Sinnwell

Last Published

February 10th, 2020

Functions in kinship2 (1.8.5)

fixParents

Fix details on the parents for children of the pedigree
minnbreast

Minnesota Breast Cancer Study
makekinship

Create a sparse kinship matrix
testped1

testped1
autohint

Align a pedigree to print well
kinship

Compute a kinship matrix
bitSize

Calculate pedigree bitsize, defined as 2 * # NonFounders - # Founders
align.pedigree

Generate plotting information for a pedigree
makefamid

Construct a family id from pedigree information
findAvailAffected

Find a single person to trim from a pedigree whose is available
findAvailNonInform

Find subjects from a pedigree who are available and uninformative
plot.pedigree.shrink

plot pedigree.shrink object that is a shrunk pedigree object
plot.pedigree

plot pedigrees
familycheck

Error check for a family classification
pedigree.unrelated

Determine set of maximum number of unrelated available subjects from a pedigree
printBanner

Print a nice banner
pedigree.shrink

Trim a pedigree to specified bit size with priority placed on trimming uninformative subjects.
sample.ped

Two example pedigrees
ibdMatrix

Create an IBD matrix
kindepth

Compute the depth of each subject in a pedigree
pedigree

Create pedigree structure
pedigree.legend

Plot a pedigree legend
findUnavailable

Find unavailable subjects in a pedigree