Description Usage Arguments Details Value
View source: R/helper_functions.R
Get mean value of a variant annotation field
1 2 3 4 |
variants |
Data frame with variants |
field |
String giving field of interest. |
caller |
String giving caller to calculate values from |
As part of the variant merging process, annotated variant data frames are merged into one, with the value from each caller prefixed by CALLER. For example, the VarDict normal allele freqeuncy will have header VARDICT.NORMAL.AF. This function takes the average of all callers' value for a given field, removing NA's. If only a single caller is present in the data frame, that value is returned.
Vector of mean values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.