vcf2phy | R Documentation |
VCF format to Phylip format
Converts VCF to phylip and saves the result to file. Output can be sequential or interleaved.
vcf2phy(
x,
save.as,
missing = "-",
sequential = TRUE,
width = 300,
padding = 5,
partition.file = TRUE
)
x |
'vcfR' object (see package::vcfR) or character string with path to VCF file containing nucleotide data. |
save.as |
Path where phylip alignment should be saved |
missing |
Character to use for missing data in the output file. Default "-". |
sequential |
Whether or not data should be written on a single line (TRUE) or in multiple blocks (interleaced format) with the number of bases per line controlled by 'width'. |
width |
NULL or a number specifying the number of bases to write per line when output is interleaved. |
padding |
Number of spaces between the longest sample name and the first base. |
The value of 'save.as'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.