MBASIC.MADBayes: MAD-Bayes method to fit the MBASIC model.

Description Usage Arguments Details Value Author(s)

Description

MAD-Bayes method to fit the MBASIC model.

Usage

1
2
3
MBASIC.MADBayes(Y, Gamma, fac, lambdaw = 0.2, lambda = 200, maxitr = 100,
  S = 2, tol = 1e-06, verbose = TRUE, para = NULL,
  initialize = "kmeans")

Arguments

Y

An N by I matrix containing the data from N experiments across I observation units (loci).

Gamma

An N by I matrix for the prior estimated mean for the background state, for N experiments across the I observation units (loci).

fac

A vector of length N denoting the experimental condition for each replicate.

lambdaw,lambda

Tuning parameters.

maxitr

The maximum number of iterations in the E-M algorithm. Default: 100.

S

The number of different states.

tol

Tolerance for error in checking the E-M algorithm's convergence. Default: 1e-04.

verbose

Boolean variable for whether the model fitting messages are printed.

para

A list of true paramters.

family

The distribution of family to be used. Either 'lognormal' or 'negbin'. See details for more information.

Details

TODO.

Value

A list object.

Author(s)

Chandler Zuo zuo@stat.wisc.edu


chandlerzuo/mbasic documentation built on May 13, 2019, 3:24 p.m.