add_read_depth_column: Add a read depth column to the ANNOVAR output dataframe.

Description Usage Arguments Value Author(s)

View source: R/add_read_depth_column.R

Description

A R function that uses get_read_depth() and appends the depth of coverage value to the original ANNOVAR dataframe.

Usage

1
add_read_depth_column(data = NULL, format_column = "vcf_format_sample", depth_index=4)

Arguments

data

an ANNOVAR based dataframe (required)

format_column

the column name containing the VCF FORMAT string (default: vcf_format_sample)

depth_index

the array index containing the depth information

Value

Returns the original input dataframe with a "depth" column containing the depth of coverage.

Author(s)

Richard J. de Borja


Bio-Core/BioCore.Annotation documentation built on Feb. 3, 2020, 6:01 p.m.