get_read_depth: Get the read depth.

Description Usage Arguments Value Author(s)

View source: R/get_read_depth.R

Description

A R function that extracts the read depth from a VCF formatted FORMAT string.

Usage

1
get_read_depth(data = NULL, delimiter = ":", depth_index = 4)

Arguments

data

dataframe containing BioCore SNV pipeline output (required)

delimiter

delimited used in the FORMAT string (default :)

depth_index

index number of the array entry for the depth column (default: 4)

Value

Returns the input dataframe with a read depth column labelled "depth" appended to it.

Author(s)

Richard J. de Borja


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