write.vcf: Write VCF object

Description Usage Arguments Author(s) See Also Examples

View source: R/writevcf.R

Description

To write a vcf object to VCF format file

Usage

1
write.vcf(x, file = "", HEAD=TRUE, ...)

Arguments

x

A vcf object.

file

Character. The file (including path) to which a vcf object will be written.

HEAD

Logical value. If TRUE, head information will be output.

...

not used.

Author(s)

Qiang Hu

See Also

read.vcf

Examples

1
2
3
4
vcffile <- system.file("extdata", "1151HZ0001.flt.vcf", package="VPA")
vcfdata <- read.vcf(vcffile)
summary(vcfdata)
write.vcf(vcfdata)

VPA documentation built on May 2, 2019, 4:45 p.m.