Learn R Programming

sequenza (version 2.1.2)

VarScan2seqz: Import VarScan output files, for use with the Sequenza algorithm.

Description

This function reads the output files from the somatic and copynumber programs, which are part of VarScan version 2. The resulting object can be used, in lieu of a “seqz” object, within Sequenza.

Usage

VarScan2seqz(varscan.somatic, varscan.copynumber = NULL, normal_var_freq = 0.25)

Arguments

varscan.somatic

a data frame from the output file of somatic.

varscan.copynumber

a data frame from the output file of copynumber (optional).

normal_var_freq

defines the variant allele frequency threshold on the normal genotype to filter out false positive heterozygous position.

Value

A data frame with the seqz format, as returned by read.seqz.

Details

It is possible to run sequenza with the output of VarScan2 version 2.3.6. Earlier versions may also work but have not been tested.

References

http://varscan.sourceforge.net