enumerateG_revised: Enumerate genotypic vectors

Description Usage Arguments Value Author(s)

Description

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

Usage

1
enumerateG_revised(k, S.list)

Arguments

k

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

S.list

(list) output from enumerateS.

Value

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

Author(s)

Ariel W Chan, ac2278@cornell.edu


ac2278/BIGRED documentation built on May 28, 2019, 3:22 p.m.