Usage
QCfilter(mdat,qcinfo=NULL,detPthre=0.000001,nbthre=3,samplethre=0.05,CpGthre=0.05, bisulthre=NULL,outlier=FALSE,outid=NULL, outCpG=NULL,plot=FALSE)
Arguments
mdat
An object of class MethylSet
or beta value matrix.
qcinfo
An object outputed from function QCinfo
detPthre
Detection P value threshold to identify low quality data point
nbthre
Number of bead threshold to identify low quality data point
samplethre
Threshold to identify low quality samples, the percentage of low quality methylation data points across probes for each sample
CpGthre
Threshold to identify low quality probes, percentage of low quality methylation data points across samples for each probe
bisulthre
Threshold of bisulfite intensity for identification of low quality samples. By default, Mean - 3 x SD of sample bisufite control intensities will be used as the threshold.
outlier
If TRUE, outlier samples will be excluded.
outid
A list of user specified samples to be excluded.
outCpG
A list of user specified CpGs to be excluded.
plot
TRUE or FALSE, whether to produce quality checking plots.