Description Usage Arguments Value See Also Examples
A function to iterate significant snps counting in a genotype matrx with a random permutation of the survival vector
1 2 | IterRandPick(gt, survival, max.p.neutral = 0.01, iter = 10,
odded.pos = NULL, verbose = TRUE)
|
gt |
A genotype matrix |
survival |
A survival vector to shuffle |
max.p.neutral |
A threshold for |
iter |
Number of iteration (default is 10) |
odded.pos |
Optional. Reference to a variant in |
verbose |
Logical. If TRUE (default), report status of the process along the execution. |
An integer vector. Each item is the number of snps with low p.neutral
value in gt
data frame after a random permutation of the survival
vector. Countains iter
items.
For more detail, see PermutRandSurv
and
CountSignSnps
which this function bind.
1 2 3 4 5 6 | ## Not run:
IterRandomPick(gt, survival)
IterRandomPick(gt, survival, max.p.neutral = 0.05)
IterRandomPick(gt, survival, iter = 1000, verbose = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.