SnpMatrixToCount {RVS}R Documentation

convert a list of SnpMatrices to a single matrix in a similiar format as LINKAGE except with minor allele counts

Description

creates a matrix in LINKAGE format using pedigree information from a list of pedigree objects and genotype information from a list of SnpMatrices

Usage

SnpMatrixToCount(matList, pedList)

Arguments

matList

list of SnpMatrices

pedList

list of pedigrees

Value

matrix in LINKAGE format

Examples

data(samplePedigrees)
data(snpMat)
ped <- samplePedigrees$secondCousinTriple
ex.ped.mat <- SnpMatrixToCount(list(snpMat), list(ped))

[Package RVS version 1.14.0 Index]