Description Usage Arguments Value Author(s)
Enumerates all genotypic vectors of length k consistent with each identity vector.
1 | enumerateG_revised(k, S.list)
|
k |
(numeric integer) specifies the number of putatitive replicates associated with the proband in question. |
S.list |
(list) output from |
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).
Ariel W Chan, ac2278@cornell.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.