detectionPnegEcdf: Detection P-value based on ECDF of negative control

View source: R/detection.R

detectionPnegEcdfR Documentation

Detection P-value based on ECDF of negative control

Description

The function takes a SigDF as input, computes detection p-value using negative control probes' empirical distribution and returns a new SigDF with an updated mask slot.

Usage

detectionPnegEcdf(sdf, return.pval = FALSE, pval.threshold = 0.05)

Arguments

sdf

a SigDF

return.pval

whether to return p-values, instead of a masked SigDF

pval.threshold

minimum p-value to mask

Value

a SigDF, or a p-value vector if return.pval is TRUE

Examples

sdf <- sesameDataGet("EPIC.1.SigDF")
sum(sdf$mask)
sum(detectionPnegEcdf(sdf)$mask)

zwdzwd/sesame documentation built on Nov. 11, 2024, 9:33 a.m.