calcdetP: To calculate detection P values

Description Usage Arguments Value Author(s) References Examples

View source: R/calcdetP.R

Description

Calculation of detection P values based on negtive internal control probes or out of the band (oob) probes

Usage

1
calcdetP(rgSet,detPtype = "negative")

Arguments

rgSet

An object of class rgDataSet

detPtype

Calculation of detection P values based on negtive internal control ("negative") probes or out of the band ("oob") probes

Value

An numerical matrix of detection P values, with row for CpGs and column for samples

Author(s)

Zongli Xu

References

Wanding Zhou et al. SeSAMe: reducing artifactual detection of DNA methylation by Infinium BeadChips in genomic deletions, Nucleic Acids Research, 2018

Examples

1
2
3
4
path <- file.path(find.package("minfiData"),"extdata")
rgSet <- readidat(path = path,recursive = TRUE)
detp=calcdetP(rgSet,detPtype = "negative")
detp2=calcdetP(rgSet,detPtype = "oob")

ENmix documentation built on April 2, 2021, 6 p.m.