Learn R Programming

R453Plus1Toolbox (version 1.22.0)

ava2vcf: 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

VCF-class

See Also

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

Examples

Run this code
  data("avaSetFiltered")
  vcf <- ava2vcf(avaSetFiltered)

Run the code above in your browser using DataLab