Learn R Programming

hscovar (version 0.4.2)

ExpectMat: Expected value of paternally inherited allele

Description

Expected value is +/-0.5 if sire is homozygous reference/ alternate allele or 0 if sire is heterozygous at the investigated marker

Usage

ExpectMat(inMat)

Arguments

inMat

[MATRIX] The paternal genotype matrix

Value

ExP.Fa

(N x p) matrix of expected values

Examples

Run this code
# NOT RUN {
 data(testdata)
 G <- Haplo2Geno(H.sire)
 E <- ExpectMat(G)
# }

Run the code above in your browser using DataLab