ava2vcf: Convert an AVASet object into a VCF object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ava2vcf.R

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)

R453Plus1Toolbox documentation built on May 31, 2017, 11:49 a.m.

Search within the R453Plus1Toolbox package
Search all R packages, documentation and source code