bayes: Threshold-free Bayesian differential analysis

View source: R/bayes.R

bayesR Documentation

Threshold-free Bayesian differential analysis

Description

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

Usage

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

## 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)

CAMO-R/Rpackage documentation built on July 20, 2023, 6:04 a.m.