ts_vcf: Save genotypes from the tree sequence as a VCF file

ts_vcfR 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 slendr_ts

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


slendr documentation built on June 22, 2024, 6:56 p.m.