getHaploGroupProb: Get haplotype group probability

Description Usage Arguments Details Value

Description

Combine probabilities across a haplotype group

Usage

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

Arguments

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.

Details

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

Value

A numeric likelihood representing the combined probability across a group.



Search within the mlPhaser package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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