write.vcf: write a vcf object

Description Usage Arguments Details Value Author(s) References Examples

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 May 2, 2019, 11:36 a.m.

Related to write.vcf in bedr...