ava2vcf {R453Plus1Toolbox} | R Documentation

## Convert an AVASet object into a VCF object

### 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

      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

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

[Package R453Plus1Toolbox version 1.38.0 Index]