calc_sample_sizes {WES}R Documentation

Calculate sample sizes

Description

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)

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

calc_sample_sizes(template_WES_data)

[Package WES version 1.0.0 Index]