Computes sensitivity with respect to a truth set
1 | sens_compute(variants, truth_set, indel = FALSE)
|
variants |
dataframe created within the 'variant_power.R' function. The columns required in this dataframe are 'Called_defaults' and 'Called_defaults' which are numeric 0/1 defining whther a variant is called. If 'indel = TRUE' also the column 'key' is required. 'key' is a unique key for a variant: 'chr:POS:SampleName:Gene:Transcript'. |
truth_set |
external truth set. The truth set os only needed to know the total number of variants in it. |
indel |
logical. TRUE is INDELs are analysed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.