write.vcf: write a vcf object

View source: R/write.vcf.R

write.vcfR 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)

bedr documentation built on April 11, 2025, 5:52 p.m.

Related to write.vcf in bedr...