kinship2: The kinship2 package for pedigree data

kinship2R Documentation

The kinship2 package for pedigree data

Description

The kinship2 package for pedigree data

Details

The package download, NEWS, and README are available on CRAN: https://cran.r-project.org/package=kinship2

Functions

Below are listed some of the most widely used functions available in arsenal:

pedigree: Contstructor of the pedigree class, given identifiers, sex, affection status(es), and special relationships

kinship: Calculates the kinship matrix, the probability having an allele sampled from two individuals be the same via IBD.

plot.pedigree: Plot method for a pedigree object. Allows extra information to be included in the id under the plot symbol

legendPlot: Special version of plot.pedigree, with an informative legend along the bottom of the figure

pedigree.shrink: Shrink a pedigree to a specific bit size, removing non-informative members first.

bitSize: Approximate the output from SAS's PROC FREQ procedure when using the /list option of the TABLE statement.

Data

sample.ped: Pedigree example data sets with two pedigrees

minnbreast: Larger cohort of pedigrees from MN breast cancer study

Examples

library(kinship2)


kinship2 documentation built on May 29, 2024, 11:14 a.m.