Description Usage Arguments Value Author(s)

View source: R/enumerateG_revised-function.R

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

1 | ```
enumerateG_revised(k, I.list)
``` |

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

`I.list` |
(list) output from |

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).

Ariel W Chan, [email protected]

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.