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, 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, [email protected]


ac2278/BIGRED documentation built on Aug. 14, 2018, 5:23 a.m.