View source: R/run_fastStructure.R
vcf2fastStructure | R Documentation |
Convert VCF file/object to fastStructure input file (for SNP data)
Converts a VCF file or vcfR object with SNP data into a fastStructure file.
vcf2fastStructure(vcf, IndvNames = TRUE, out = NULL, OtherData = NULL)
vcf |
Character string with path to input VCF, or an object of class vcfR. |
IndvNames |
Logical indicating if the first column of the output file should include the names of individuals. Default TRUE. |
out |
Path where output file should be written. |
OtherData |
NULL (the default) or a matrix with up to five (if IndvNames TRUE) or six (if IndvNames FALSE) columns of metadata. If non-NULL, the number of rows must equal number of individuals in the VCF. |
Character string with value of 'out'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.