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