gt_as_vcf | R Documentation |
gen_tibble
to a VCFThis function write a VCF from a gen_tibble
.
gt_as_vcf(x, file = NULL, chunk_size = NULL, overwrite = FALSE)
x |
a |
file |
the .vcf file name with a path, or NULL (the default) to use the location of the backing files. |
chunk_size |
the number of loci processed at a time. Automatically set if left to NULL |
overwrite |
logical, should the file be overwritten if it already exists? |
the path of the .vcf file
example_gt <- load_example_gt("gen_tbl")
# Write a vcf file
example_gt %>% gt_as_vcf()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.