Description Usage Arguments Value See Also Examples
A function to calculate the number of picked lives per categories of samples according to MWNCHypergeo model.
1 | CalcOddedPick(variant, survival, n = 10, verbose = TRUE)
|
variant |
The odded variant vector |
survival |
A survival vector |
n |
Number of life vectors to be generated (default is 10) |
verbose |
Logical. If TRUE (default), report status of the process along the execution. |
A list. list$odded.lives is a matrix containing a number of survivors per
categories (e.g. list$odded.lives row names could be "HOMOREF", "HOMOALT",
...) with n
column, each time generated with the same input values.
list$odded.samples are the index of the samples belonging to each categories
(e.g. list$odded.samples$HETERO could be c(1, 3, 8, 14))
For more detail, see IterRandPick
which binds this
function
1 2 3 4 5 6 | ## Not run:
CalcOddedPick(variant, survival)
CalcOddedPick(variant, survival, n = 1000)
CalcOddedPick(variant, survival, verbose = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.