enumerateG_revised: Enumerate genotypic vectors

Description Usage Arguments Value Author(s)

View source: R/enumerateG_revised-function.R

Description

Enumerates all genotypic vectors of length k consistent with each identity vector.

Usage

1
enumerateG_revised(k, I.list)

Arguments

k

(numeric integer) specifies the number of putatitive replicates associated with the proband in question.

I.list

(list) output from enumerateI.

Value

The function returns a list of length two: (1) 'G|I': (list) enumerates all genotype vectors consistent with identity vector i (2) 'P(G|I)': (vector) provides the probability of genotype vector g given identity vector i. We compute P(G|I) assuming the uniform probability law (i.e. 1/cardinality of set).

Author(s)

Ariel W Chan, [email protected]


ac2278/BTRED documentation built on Nov. 18, 2017, 9:51 a.m.