write.vcf {bedr} | R Documentation |
write a vcf object
Description
write a vcf object
Usage
write.vcf(x, filename = NULL, verbose = TRUE)
Arguments
x |
a vcf object |
filename |
a filename |
verbose |
more words |
Details
The input needs to be a vcf object. This
Value
A vcf file
Author(s)
Daryl Waggott
References
vcf format specifications
Examples
vcf <- read.vcf(system.file("extdata/clinvar_dbSNP138_example.vcf.gz", package = "bedr"));
vcf$header <- c(vcf$header, NOTE="vcf processed by bedr")
## Not run:
write.vcf(vcf, filename = paste(tempdir(), "/bedr.example.vcf", sep = ""));
## End(Not run)
[Package bedr version 1.0.7 Index]