Save genotypes from the tree sequenceas a VCF file

ts_vcf(ts, path, individuals = NULL)

Arguments

ts

pyslim.SlimTreeSequence object

path

Path to a VCF file

individuals

A character vector of individuals in the tree sequence. If missing, all individuals present in the tree sequence will be saved.