Description Usage Arguments Value Author(s)
View source: R/add_variant_allele_fraction_column.R
A function to add the variant allele fraction (VAF) as a separate column using the VCF FORMAT string.
1 | add_variant_allele_fraction_column(data = NULL, format_column = "vcf_format_sample", vaf_index = 15)
|
data |
dataframe containing mutation data (required) |
format_column |
column name for the FORMAT string (default: vcf_format_sample) |
vaf_index |
array index containing the variant allele fraction |
Returns a dataframe with the VAF column appended and labelled "vaf".
Richard J. de Borja
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.