bayes: Run Bayesian analysis for individual pdata

Description Usage Arguments Value Examples

View source: R/bayes.R

Description

Run Bayesian analysis for individual pData The bayes is function to run Bayesian analysis for individual pdata

Usage

1
bayes(pData, seed = 12345)

Arguments

pData:

individual pData. The data matrix has to consist of two columns, first being the p-value, second being the log fold change.

seed:

seed number.

Value

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

Examples

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

## End(Not run)

matianzhou/CAMO documentation built on May 21, 2019, 10:12 a.m.