bayes: Threshold-free Bayesian differential analysis

Description Usage Arguments Value Examples

View source: R/bayes.R

Description

The bayes is function to run Bayesian differential analysis for a single study.

Usage

1
bayes(pData, seed = 12345)

Arguments

pData:

a matrix consist of two columns where first being the p-values and second being the log fold changes.

seed:

seed number.

Value

an MCMC output matrix of signed DE indicator (input for congruence analysis)

Examples

1
2
3
4
5
6
7
8
## Not run: 
data(hb)
summaryDE = indDE(data=data,group=as.factor(group),data.type="microarray",
                  case.label="2", ctrl.label="1")
hb_pData = summaryDE[,c(3,1)]
hb_MCMCout = bayes(hb_pData, seed=12345)

## End(Not run)

weiiizong/CAMO documentation built on Dec. 23, 2021, 5:09 p.m.