combineRank: combineRank

Description Usage Arguments Details Value Author(s)

View source: R/combineRank.R

Description

A search algorithm which creates a ranked table of the greatest combined sum from each vector-elements in a list.

Usage

1
combineRank(dlist, loghdval = Inf, alpha = 0.99, maxsearch = 1000)

Arguments

dlist

A list with vector elements of decreased sorted values.

loghdval

An optional value used to stop the search together with alpha.

alpha

An optional value used to stop the search together with loghdval.

maxsearch

The size of the ranked deconvolved profile table will not exceed this number (used to avoid endless search).

Details

The procedure takes a list with vector elements of decreased sorted values and creates a ranked table of the most probable summed values (sum) from each vector-elements in the list.

The search is stopped when SUM(exp(sum-loghdval))>alpha or when the size of the ranked table is equal maxsearch

Value

ret A list(rankG,pG) where rankG is the ranked genotypes with corresponding probabilities in pG.

Author(s)

Oyvind Bleka <Oyvind.Bleka.at.fhi.no>


euroformix documentation built on May 2, 2019, 4:48 p.m.