This function takes a compiled data.frame following the format shown in the template_es_data object and calculates basic sample sizes and detection rates for all gene targets.

calc_sample_sizes(df, cutoff = 40)

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.

Value

data.frame

Examples

if (FALSE) {

calc_sample_sizes(template_es_data)

}