nullDistri: Probability of one group being upregulated under null

Description Usage Arguments Details Value Examples

View source: R/nullDistri.R

Description

This function estimates probabilities of any one group being upregulated than other groups under null hypotheses.

Usage

1
nullDistri(ppnull)

Arguments

ppnull

a list returned by postProbNull or OVESEGtest.

Details

The probability of one group being upregulated under null hypotheses is calculated by accumulating and normalizing genewise posterior probability of null hypotheses. The group with higher probability tends to get more False Positive MGs.

Value

a numeric vector indicating probabilities of each group being upregulated than others under null hypotheses.

Examples

1
2
3
data(RocheBT)
ppnull <- postProbNull(RocheBT$y, RocheBT$group, alpha='moderated')
pk <- nullDistri(ppnull)

OVESEG documentation built on Nov. 8, 2020, 4:51 p.m.