This function takes a compiled data.frame following the format shown in the template_WES_data object
and calculates basic sample sizes and detection rates for all gene targets.
Usage
calc_sample_sizes(df, cutoff = 40)
Value
data.frame
Arguments
df
A data.frame produced by the compile_tac_data function containing 'target_name' and 'ct_value' columns.
cutoff
Numeric scalar giving the cutoff Ct value over which a gene target is deemed absent from a sample. Default is 40.