Combine probabilities across a haplotype group

1 2 | ```
getHaploGroupProb(haploGroup, haploFreqs,
method = "basic", returnLog = FALSE)
``` |

`haploGroup` |
A list of haplotypes. Only the names attribute is important. |

`haploFreqs` |
The frequencies of haplotypes as a named vector. |

`method` |
Only one method currently ("basic"). |

`returnLog` |
Whether to output the combined probability as a natural log. Default=FALSE. |

Each haplotype might have a probability of being found. e.g. the population frequency. This function combines probabilities of a group of haplotypes

A numeric likelihood representing the combined probability across a group.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.