Learn R Programming

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

kinship2 (version 1.3.1)

Pedigree functions

Description

Routines to handle family data with a pedigree object. 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.

Copy Link

Version

Install

install.packages('kinship2')

Monthly Downloads

3,911

Version

1.3.1

License

GPL (>= 2)

Maintainer

Jason Sinnwell

Last Published

October 12th, 2011

Functions in kinship2 (1.3.1)

autohint

Align a pedigree to print well
familycheck

Error check for a family classification
makekinship

Create a sparse kinship matrix
findUnavailable

Find unavailable subjects in a pedigree
makefamid

Construct a family id from pedigree information
plot.pedigree

plot pedigrees
sample.ped

Two example pedigrees
findAvailNonInform

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

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

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

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

testped1
kindepth

Compute the depth of each subject in a pedigree
minnbreast

Minnesota Breast Cancer Study
align.pedigree

Generate plotting information for a pedigree
pedigree.unrelated

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

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

Print a nice banner
kinship

Compute a kinship matrix
pedigree.legend

Plot a pedigree legend
pedigree

Create pedigree structure