Description Usage Arguments Value Author(s)
View source: R/get_read_depth.R
A R function that extracts the read depth from a VCF formatted FORMAT string.
1 | get_read_depth(data = NULL, delimiter = ":", depth_index = 4)
|
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) |
Returns the input dataframe with a read depth column labelled "depth" appended to it.
Richard J. de Borja
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.