| kinship2 | R Documentation |
The kinship2 package for pedigree data
The package download, NEWS, and README are available on CRAN: https://cran.r-project.org/package=kinship2
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.
sample.ped: Pedigree example data sets with two pedigrees
minnbreast: Larger cohort of pedigrees from MN breast cancer study
library(kinship2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.