vcf_to_plink | R Documentation |
Convert a Variant Call File (VCF) to PLINK format.
vcf_to_plink(
vcf,
output_prefix = NULL,
bcftools_path = NULL,
make_bed = TRUE,
recode = TRUE,
verbose = TRUE
)
vcf |
Specify full name of .vcf or .vcf.gz file. |
output_prefix |
Specify prefix for output files. |
bcftools_path |
Path to |
make_bed |
Create a new binary fileset. Unlike the automatic text-to-binary converters (which only heed chromosome filters), this supports all of PLINK's filtering flags. |
recode |
Create a new text fileset with all filters applied. |
verbose |
Print messages. |
vcf <- system.file("extdata", "BST1.1KGphase3.vcf.bgz",
package = "echodata")
paths <- vcf_to_plink(vcf = vcf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.