Convert an AVASet object into a VCF object

Share:

Description

Converts all variants in a given AVASet object into a VCF object and writes it to a file in VCF format if filename is given.

Usage

1
  ava2vcf(object, filename, annot)

Arguments

object

An object of class AVASet.

filename

The name of the VCF file to write in, if ommitted no file is written.

annot

An object of class AnnotatedVariants. Optional, if given variants are annotated with informations from dbSNP.

Value

An object of class VCF-class

Author(s)

Christian Ruckert

See Also

AnnotatedVariants-class, AVASet-class, VCF-class, writeVcf

Examples

1
2
  data("avaSetFiltered")
  vcf <- ava2vcf(avaSetFiltered)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.