Learn R Programming

bedr (version 1.0.2)

write.vcf: 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

Value

A vcf file

Details

The input needs to be a vcf object. This

References

vcf format specifications

Examples

Run this code

vcf  <- read.vcf(system.file("extdata/clinvar_dbSNP138_example.vcf.gz", package = "bedr"));
vcf$header <- c(vcf$header, NOTE="vcf processed by bedr")
# write.vcf(vcf, filename = "bedr.example.vcf");

Run the code above in your browser using DataLab