Exports genotype tables to various flat file formats.
Usage
exportGenotypeTable(
tasObj,
file,
format = c("vcf", "hapmap", "plink", "flapjack"),
keepDepth = TRUE,
taxaAnnotations = TRUE,
branchLengths = TRUE
)Arguments
- tasObj
An object of class
TasselGenotypePenotypethat contains a genotype table.- file
Output file name.
- format
Export file format. This function current supports the following:
vcf- A VCF (variant call) filehapmap- HapMap filesplink- Plink filesflapjack- FlapJack files
- keepDepth
Whether to keep depth if format supports depth. Defaults to
TRUE.- taxaAnnotations
Whether to include taxa annotations if format supports taxa. Defaults to
TRUE.- branchLengths
Whether to include branch lengths for Newick formatted files. Defaults to
TRUE.
