outprop {DiPhiSeq} | R Documentation |
Give a rough estimate of the proportion of outliers in the data based on the results of DiPhiSeq.
Description
Give a rough estimate of the proportion of outliers in the data based on the results of DiPhiSeq.
Usage
outprop(diphiseq.res, fdr.cutoff = 0.1)
Arguments
diphiseq.res |
The results given by running diphiseq. |
fdr.cutoff |
The cutoff for FDR. |
Value
a numeric value. The estimated proportion of outliers under the FDR cutoff in the data.
Examples
countmat <- matrix(rnbinom(100, size=1, mu=50), nrow=4, ncol=25)
classlab <- c(rep(1, 10), rep(2, 15))
res <- diphiseq(countmat, classlab)
outlier.proportion <- outprop(res)
[Package DiPhiSeq version 0.2.0 Index]