VarList.comp {EpiTest} | R Documentation |
Compute covariance matrices
Description
This function computes the covariance matrices associated with
the variance components of the EpiTest model: the segregation variance,
the (segregation x
segregation) variance and the error variance
Usage
VarList.comp(Ancestry)
Arguments
Ancestry |
a matrix with 0/1 entries representing the allele ancestries of a bi-parental population at a set of markers (0: homozygous for parent A alleles and 1: homozygous for parent B alleles) |
Value
A list of three covariance matrices
Examples
## One bi-parental population, no weighting
data(Ancestry.list)
Ancestry <- Ancestry.list[[1]]
VarList <- VarList.comp(Ancestry = Ancestry)
purrr::map(VarList,~.x[1:5,1:5])
[Package EpiTest version 1.0.0 Index]