outprop: Give a rough estimate of the proportion of outliers in the...

Description Usage Arguments Value Examples

View source: R/diphiseq.R

Description

Give a rough estimate of the proportion of outliers in the data based on the results of DiPhiSeq.

Usage

1
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

1
2
3
4
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)

DiPhiSeq documentation built on May 2, 2019, 11:56 a.m.

Related to outprop in DiPhiSeq...