ts_vcf {slendr} | R Documentation |
Save genotypes from the tree sequence as a VCF file
Description
Save genotypes from the tree sequence as a VCF file
Usage
ts_vcf(ts, path, chrom = NULL, individuals = NULL)
Arguments
ts |
Tree sequence object of the class |
path |
Path to a VCF file |
chrom |
Chromosome name to be written in the CHROM column of the VCF |
individuals |
A character vector of individuals in the tree sequence. If missing, all individuals present in the tree sequence will be saved. |
Value
No return value, called for side effects
[Package slendr version 0.9.1 Index]