Learn R Programming

optiSel (version 0.9.1)

kinlist: Combines Kinship Matrices into a List

Description

Combines matrices or objects of class kinMatrices into a list

Usage

kinlist(...)

Arguments

...

One or more matrices or objects of class kinMatrices

Value

List of class kinMatrices

Details

Combines matrices or objects of class kinMatrices into a list

Examples

Run this code
# NOT RUN {
data(PedigWithErrors)
data(Phen)
Phen  <- Phen[80:140,]
keep  <- Phen$Indiv
Pedig <- prePed(PedigWithErrors, keep=keep, thisBreed="Hinterwaelder", lastNative=1970)
fA    <- pedIBD(Pedig, keep.only=keep)
fD    <- pedIBDatN(Pedig, thisBreed="Hinterwaelder",  keep.only=keep)
x     <- pedIBDorM(Pedig, thisBreed="Hinterwaelder", keep.only=keep)
Kin   <- kinlist(fA=fA, fB=x$pedIBDorM, fC=x$pedIBDorMM, fD=fD)
help.opticont(Kin, Phen)
# }

Run the code above in your browser using DataLab