detectionPnegEcdf {sesame}R Documentation

Detection P-value based on ECDF of negative control

Description

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

Usage

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

Arguments

sset

a SigSet

return.pval

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

pval.threshold

minimum p-value to mask

Value

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

Examples

sset <- sesameDataGet("HM450.1.TCGA.PAAD")$sset
sum(mask(sset))
sset_with_mask <- detectionPnegEcdf(sset)
sum(mask(sset_with_mask))

[Package sesame version 1.10.5 Index]