Description Usage Arguments Value Examples
A function to split a genotype matrix two genotype matrix according to a logical vector
1 |
gt |
The original genotype matrix to split |
survival |
A logical vector for splitting the data into two gt matrix. The length of the vector must match the number of samples in the gt matrix. |
verbose |
Logical. If TRUE (default), report status of the process along the execution. |
A list of genotype matrix.
list$alive
is the gt matrix containing the samples which position
corresponds with a TRUE in the survival
vector.
The other samples are contained in list$dead
as an other gt matrix
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.