apply.Ct.filtering: Apply Ct filtering to PrimaryAnalysis intermediates based on...

Description Usage Arguments Details Value See Also Examples

View source: R/primary_analysis.R

Description

apply.Ct.filtering takes raw Ct(Cp) values and applies mild postprocessing to conform with current behavior of the analysis protocol.

Usage

1

Arguments

vec

Numeric vector of raw Ct values.

Details

The current filter applied is "Ct equal to 38 is set to NA". This is different than what's applied in the excel template (equal to 28, set to 0), but based on how the Cts are defined, the 28 criterion is actually a bug in the template. By inspection, it seems like the actual current protocol is to go through and manually blank entries that exceed some Ct threshold, possibly closer to 30. This function provides centralized control should that filter need to be adjusted in the future.

Value

Numeric vector of input with some overlarge values set to NA.

See Also

read.export.datum() for acquiring raw Ct values, PrimaryAnalysis() for construction of PrimaryAnalysis objects that use these processed Cts.

Examples

1
filtered.data <- apply.Ct.filtering(raw.data)

NCI-CGR/cgrtelomeres documentation built on Feb. 11, 2021, 12:12 p.m.