sens_compute: Computes sensitivity with respect to a truth set

Description Usage Arguments

View source: R/sens_compute.R

Description

Computes sensitivity with respect to a truth set

Usage

1
sens_compute(variants, truth_set, indel = FALSE)

Arguments

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.


annaquaglieri16/samplepower documentation built on Nov. 7, 2019, 11:43 p.m.