write.vcf: write a vcf object

Description Usage Arguments Details Value Author(s) References Examples

View source: R/write.vcf.R

Description

write a vcf object

Usage

1
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

1
2
3
4
5
6
7
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 Nov. 17, 2017, 7:28 a.m.

Related to write.vcf in bedr...